Commit 4ecde29
committed
chore: fix spurious clippy warning
warning: a `const` item should not be interior mutable
--> src/unbounded.rs:44:5
|
44 | / const UNINIT: Slot<T> = Slot {
45 | | value: UnsafeCell::new(MaybeUninit::uninit()),
46 | | state: AtomicUsize::new(0),
47 | | };
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const
= note: `#[warn(clippy::declare_interior_mutable_const)]` on by default1 parent 9c906a2 commit 4ecde29
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments