Skip to content

Commit

Permalink
explicit-move-binding-mode: fix & explain warning example
Browse files Browse the repository at this point in the history
  • Loading branch information
schuelermine committed Apr 10, 2023
1 parent 7166c59 commit 17522df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion text/3410-explicit-move-binding-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,13 @@ error: unnecessary binding mode specifier
4 | (move x, y, z) => {
| ^^^^
| |
| `move` not permitted here because it's implied
| `move` not required here because it's implied
|
= note: `#[warn(unnecessary_binding_mode)]` on by default
```

(inspired by E0449)

Unnecessary `ref`:

```none
Expand Down

0 comments on commit 17522df

Please sign in to comment.