Commit 622544b
committed
Disable clippy's now-default
This lint fires when we do a swap with a value stored in a mutex,
as it sees the `&mut x.lock().unwrap()` as a temporary which can be
taken from, even though it is in fact not.
See rust-lang/rust-clippy#15166swap-with-temporary buggy lint1 parent e2a05a4 commit 622544b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments