diff options
| author | Mica White <botahamec@outlook.com> | 2026-03-14 21:33:50 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-03-14 21:33:50 -0400 |
| commit | 482b47f4ed786946acb324b60d9f7ae7dd8cc075 (patch) | |
| tree | 4216f042597679f2b76adbb61d3ba9596e96a060 /tests/evil_unlock_mutex.rs | |
| parent | d9095d8fce59714f75019ecf68911d9931a1af15 (diff) | |
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; |
