Skip to content

Commit f42a677

Browse files
Fix typo
Co-authored-by: kennytm <kennytm@gmail.com>
1 parent cbf6f22 commit f42a677

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
@@ -59,7 +59,7 @@ In edition 2024 and above, an `&` or `&mut` pattern can match against this
5959
inherited reference, consuming it. A pattern that does this has no other effect.
6060

6161
```rust
62-
// New in edition 2023:
62+
// New in edition 2024:
6363
// `&` pattern consumes inherited `&` reference.
6464
let [&x] = &[42];
6565
let _: u8 = x;

0 commit comments

Comments
 (0)