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 b8d2c58 commit 7c5b80dCopy full SHA for 7c5b80d
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