Rust for Python Developers - Operators

Shin_O
61.3K views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

This article was originally published on Medium

Follow me:

Logical Operators

Rust logical operator symbols are different from Python ones.

MeaningPythonRust
True if both the operands are trueand&&
True if either of the operands is trueor||
True if operand is falsenot!
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content