Skip to content

Commit 0a55590

Browse files
committed
Removed outer parentheses in the example.
1 parent eb94116 commit 0a55590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ operators on standard types is given here.
437437
Calls the `ge` method on the `std::cmp::PartialOrd` trait.
438438

439439
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)`.
440+
expression `a == b == c` is invalid and may be written as `(a == b) == c`.
441441

442442
### Type cast expressions
443443

0 commit comments

Comments
 (0)