summaryrefslogtreecommitdiff
path: root/tests/evil_unlock_rwlock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/evil_unlock_rwlock.rs')
-rwxr-xr-xtests/evil_unlock_rwlock.rs2
1 files changed, 0 insertions, 2 deletions
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;