Remove operator precedence section covered in the reference

This commit is contained in:
Carol Nichols 2015-05-05 22:32:38 -04:00
parent e607d76564
commit c3156a8ff4

View file

@ -612,30 +612,6 @@ assignment_expr : expr '=' expr ;
compound_assignment_expr : expr [ arith_op | bitwise_op ] '=' expr ;
```
#### Operator precedence
The precedence of Rust binary operators is ordered as follows, going from
strong to weak:
```text
* / %
as
+ -
<< >>
&
^
|
< > <= >=
== !=
&&
||
=
```
Operators at the same precedence level are evaluated left-to-right. [Unary
operators](#unary-operator-expressions) have the same precedence level and it
is stronger than any of the binary operators'.
### Grouped expressions
```antlr