Commit b720ee6
committed
Work around dead_code warning in flock implementation
warning: field `0` is never read
--> src/flock.rs:22:12
|
22 | Locked(MutexGuard<'static, ()>),
| ------ ^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
22 | Locked(()),
| ~~1 parent 0081291 commit b720ee6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments