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 /src/poisonable | |
| parent | d9095d8fce59714f75019ecf68911d9931a1af15 (diff) | |
Diffstat (limited to 'src/poisonable')
| -rwxr-xr-x | src/poisonable/guard.rs | 4 |
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 } } |
