mirror of https://github.com/rust-lang/rfcs.git
Fix typo in example
This commit is contained in:
parent
e222363d4b
commit
9b44733384
|
@ -138,7 +138,7 @@ syntax for this is left to a future RFC.)
|
|||
|
||||
```rust
|
||||
//! Edition ≥ 2024
|
||||
let &[mut a] = &[42];
|
||||
let [mut a] = &[42];
|
||||
a = &47;
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue