We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c906a2 commit 4ecde29Copy full SHA for 4ecde29
src/unbounded.rs
@@ -41,6 +41,7 @@ struct Slot<T> {
41
42
impl<T> Slot<T> {
43
#[cfg(not(loom))]
44
+ #[allow(clippy::declare_interior_mutable_const)]
45
const UNINIT: Slot<T> = Slot {
46
value: UnsafeCell::new(MaybeUninit::uninit()),
47
state: AtomicUsize::new(0),
0 commit comments