Skip to content

Commit 0276e07

Browse files
authored
Merge pull request #1287 from amab8901/patch-2
clarifying which row contains the example
2 parents b8d2c58 + 7c5b80d commit 0276e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/expressions/grouped-expr.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Parentheses can be used to explicitly modify the precedence order of subexpressi
1616
An example of a parenthesized expression:
1717

1818
```rust
19-
let x: i32 = 2 + 3 * 4;
20-
let y: i32 = (2 + 3) * 4;
19+
let x: i32 = 2 + 3 * 4; // not parenthesized
20+
let y: i32 = (2 + 3) * 4; // parenthesized
2121
assert_eq!(x, 14);
2222
assert_eq!(y, 20);
2323
```

0 commit comments

Comments
 (0)