Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ operators on standard types is given here.
: Greater than or equal.
Calls the `ge` method on the `std::cmp::PartialOrd` trait.

Parentheses are required when chaining comparison operators. For example, the
expression `a == b == c` is invalid and may be written as `(a == b) == c`.

### Type cast expressions

A type cast expression is denoted with the binary operator `as`.
Expand Down