We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b060f73 commit eb94116Copy full SHA for eb94116
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