summaryrefslogtreecommitdiff
path: root/src/poisonable
diff options
context:
space:
mode:
Diffstat (limited to 'src/poisonable')
-rwxr-xr-xsrc/poisonable/guard.rs4
1 files changed, 2 insertions, 2 deletions
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<T, Guard: Deref<Target = T>> 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<T, Guard: DerefMut<Target = T>> 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
}
}