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 --- src/poisonable/guard.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/poisonable') diff --git a/src/poisonable/guard.rs b/src/poisonable/guard.rs index b887e2d..32b4ee8 100755 --- a/src/poisonable/guard.rs +++ b/src/poisonable/guard.rs @@ -100,14 +100,14 @@ impl> Deref for PoisonGuard<'_, Guard> { type Target = T; fn deref(&self) -> &Self::Target { - #[allow(clippy::explicit_auto_deref)] // fixing this results in a compiler error + #[expect(clippy::explicit_auto_deref)] // fixing this results in a compiler error &*self.guard.guard } } impl> DerefMut for PoisonGuard<'_, Guard> { fn deref_mut(&mut self) -> &mut Self::Target { - #[allow(clippy::explicit_auto_deref)] // fixing this results in a compiler error + #[expect(clippy::explicit_auto_deref)] // fixing this results in a compiler error &mut *self.guard.guard } } -- cgit v1.2.3