summaryrefslogtreecommitdiff
path: root/src/poisonable
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2026-03-14 21:33:50 -0400
committerMica White <botahamec@outlook.com>2026-03-14 21:33:50 -0400
commit482b47f4ed786946acb324b60d9f7ae7dd8cc075 (patch)
tree4216f042597679f2b76adbb61d3ba9596e96a060 /src/poisonable
parentd9095d8fce59714f75019ecf68911d9931a1af15 (diff)
Apply clippy restrictionsHEADmain
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
}
}