Skip to main content

One doc tagged with "arithmetic"

View all tags

Basic Operators: The Tools of Computation

Now that you have a solid understanding of comments and documentation, let's get back to the core of computation: operators. Operators are special symbols that perform operations on values and variables. Rust supports a range of operators that you will be familiar with from other languages, including arithmetic, comparison, logical, and bitwise operators.