mirror of https://github.com/rust-lang/rfcs.git
Fix typo
Co-authored-by: Tyler Mandry <tmandry@gmail.com>
This commit is contained in:
parent
3ff0267761
commit
b07848501c
|
@ -358,7 +358,7 @@ let &[[&mut a]] = &[&mut [42]]; // x: i32
|
|||
//! Edition ≥ 2024: works with or without this rule (alternatives to above)
|
||||
// No need to abandon match ergonomics
|
||||
let &[[&a]] = &[&mut [42]]; // x: i32
|
||||
let &[&mut [&a]] = &[&mut [42]]; // x: i32
|
||||
let &[&mut [a]] = &[&mut [42]]; // x: i32
|
||||
```
|
||||
|
||||
### Makes behavior more consistent
|
||||
|
|
Loading…
Reference in New Issue