Skip to content

Commit 17522df

Browse files
committed
explicit-move-binding-mode: fix & explain warning example
1 parent 7166c59 commit 17522df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

text/3410-explicit-move-binding-mode.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,13 @@ error: unnecessary binding mode specifier
204204
4 | (move x, y, z) => {
205205
| ^^^^
206206
| |
207-
| `move` not permitted here because it's implied
207+
| `move` not required here because it's implied
208208
|
209209
= note: `#[warn(unnecessary_binding_mode)]` on by default
210210
```
211211

212+
(inspired by E0449)
213+
212214
Unnecessary `ref`:
213215

214216
```none

0 commit comments

Comments
 (0)