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/key.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/key.rs') diff --git a/src/key.rs b/src/key.rs index b29245e..c788b32 100755 --- a/src/key.rs +++ b/src/key.rs @@ -75,9 +75,8 @@ impl ThreadKey { /// ``` #[must_use] pub fn get() -> Option { - // safety: we just acquired the lock - // safety: if this code changes, check to ensure the requirement for - // the Drop implementation is still true + // if this code changes, check to ensure the requirement for + // the Drop implementation is still true KEY.with(|key| { key.try_lock().then_some(Self { phantom: PhantomData, -- cgit v1.2.3