From 482b47f4ed786946acb324b60d9f7ae7dd8cc075 Mon Sep 17 00:00:00 2001 From: Mica White Date: Sat, 14 Mar 2026 21:33:50 -0400 Subject: Apply clippy restrictions --- tests/evil_unlock_rwlock.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/evil_unlock_rwlock.rs') diff --git a/tests/evil_unlock_rwlock.rs b/tests/evil_unlock_rwlock.rs index 58402c9..577de85 100755 --- a/tests/evil_unlock_rwlock.rs +++ b/tests/evil_unlock_rwlock.rs @@ -12,7 +12,6 @@ struct KindaEvilRwLock { struct EvilRwLock {} unsafe impl RawRwLock for KindaEvilRwLock { - #[allow(clippy::declare_interior_mutable_const)] const INIT: Self = Self { inner: parking_lot::RawRwLock::INIT, }; @@ -45,7 +44,6 @@ unsafe impl RawRwLock for KindaEvilRwLock { } unsafe impl RawRwLock for EvilRwLock { - #[allow(clippy::declare_interior_mutable_const)] const INIT: Self = Self {}; type GuardMarker = GuardNoSend; -- cgit v1.2.3