diff options
Diffstat (limited to 'tests/evil_unlock_mutex.rs')
| -rwxr-xr-x | tests/evil_unlock_mutex.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/evil_unlock_mutex.rs b/tests/evil_unlock_mutex.rs index ee12abc..c21fc34 100755 --- a/tests/evil_unlock_mutex.rs +++ b/tests/evil_unlock_mutex.rs @@ -12,7 +12,6 @@ struct KindaEvilMutex { struct EvilMutex {} unsafe impl RawMutex for KindaEvilMutex { - #[allow(clippy::declare_interior_mutable_const)] const INIT: Self = Self { inner: parking_lot::RawMutex::INIT, }; @@ -33,7 +32,6 @@ unsafe impl RawMutex for KindaEvilMutex { } unsafe impl RawMutex for EvilMutex { - #[allow(clippy::declare_interior_mutable_const)] const INIT: Self = Self {}; type GuardMarker = GuardNoSend; |
