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.
2 parents b8d2c58 + 7c5b80d commit 0276e07Copy full SHA for 0276e07
src/expressions/grouped-expr.md
@@ -16,8 +16,8 @@ Parentheses can be used to explicitly modify the precedence order of subexpressi
16
An example of a parenthesized expression:
17
18
```rust
19
-let x: i32 = 2 + 3 * 4;
20
-let y: i32 = (2 + 3) * 4;
+let x: i32 = 2 + 3 * 4; // not parenthesized
+let y: i32 = (2 + 3) * 4; // parenthesized
21
assert_eq!(x, 14);
22
assert_eq!(y, 20);
23
```
0 commit comments