From 51666c5104c00e6bd7f083755922b3bb3f4ba1be Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 9 Mar 2024 20:32:01 +0900 Subject: [PATCH] Remove no longer necessary allowed lints --- portable-atomic-util/src/arc.rs | 1 - tests/helper/src/lib.rs | 1 - 2 files changed, 2 deletions(-) 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 )]