Skip to content

Commit b078485

Browse files
Fix typo
Co-authored-by: Tyler Mandry <tmandry@gmail.com>
1 parent 3ff0267 commit b078485

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
@@ -358,7 +358,7 @@ let &[[&mut a]] = &[&mut [42]]; // x: i32
358358
//! Edition ≥ 2024: works with or without this rule (alternatives to above)
359359
// No need to abandon match ergonomics
360360
let &[[&a]] = &[&mut [42]]; // x: i32
361-
let &[&mut [&a]] = &[&mut [42]]; // x: i32
361+
let &[&mut [a]] = &[&mut [42]]; // x: i32
362362
```
363363

364364
### Makes behavior more consistent

0 commit comments

Comments
 (0)