Fix typo in example

This commit is contained in:
Jules Bertholet 2024-05-07 15:38:42 -04:00 committed by GitHub
parent e222363d4b
commit 9b44733384
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
```