Skip to content

Commit 9b44733

Browse files
Fix typo in example
1 parent e222363 commit 9b44733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3627-match-ergonomics-2024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ syntax for this is left to a future RFC.)
138138

139139
```rust
140140
//! Edition ≥ 2024
141-
let &[mut a] = &[42];
141+
let [mut a] = &[42];
142142
a = &47;
143143
```
144144

0 commit comments

Comments
 (0)