diff --git a/portable-atomic-util/src/arc.rs b/portable-atomic-util/src/arc.rs index 575a5b9f..2022c543 100644 --- a/portable-atomic-util/src/arc.rs +++ b/portable-atomic-util/src/arc.rs @@ -242,7 +242,6 @@ impl Arc { /// # Example /// /// ``` - /// # #![allow(dead_code)] /// use portable_atomic_util::{Arc, Weak}; /// /// struct Gadget { diff --git a/tests/helper/src/lib.rs b/tests/helper/src/lib.rs index b6205ac0..ce739da2 100644 --- a/tests/helper/src/lib.rs +++ b/tests/helper/src/lib.rs @@ -5,7 +5,6 @@ clippy::incompatible_msrv, clippy::missing_panics_doc, clippy::new_without_default, - clippy::thread_local_initializer_can_be_made_const, // clippy bug: this lint doesn't consider MSRV: https://github.com/rust-lang/rust-clippy/issues/12404 clippy::undocumented_unsafe_blocks )]