diff options
Diffstat (limited to 'src/key.rs')
| -rwxr-xr-x | src/key.rs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -75,9 +75,8 @@ impl ThreadKey { /// ``` #[must_use] pub fn get() -> Option<Self> { - // 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, |
