We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b060f73 + 0a55590 commit c6f4de7Copy full SHA for c6f4de7
src/expressions.md
@@ -436,6 +436,9 @@ operators on standard types is given here.
436
: Greater than or equal.
437
Calls the `ge` method on the `std::cmp::PartialOrd` trait.
438
439
+Parentheses are required when chaining comparison operators. For example, the
440
+expression `a == b == c` is invalid and may be written as `(a == b) == c`.
441
+
442
### Type cast expressions
443
444
A type cast expression is denoted with the binary operator `as`.
0 commit comments