diff --git a/src/with_const_generics.rs b/src/with_const_generics.rs index bc70007..fc9857d 100644 --- a/src/with_const_generics.rs +++ b/src/with_const_generics.rs @@ -181,10 +181,6 @@ impl ConstGenericRingBuffer { #[allow(clippy::let_unit_value)] let () = Self::ERROR_CAPACITY_IS_NOT_ALLOWED_TO_BE_ZERO; - // allow here since we are constructing an array of MaybeUninit - // which explicitly *is* defined behavior - // https://rust-lang.github.io/rust-clippy/master/index.html#uninit_assumed_init - #[allow(clippy::uninit_assumed_init)] Self { buf: [const { MaybeUninit::::uninit() }; CAP], writeptr: 0,