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/key.rs | |
| parent | d9095d8fce59714f75019ecf68911d9931a1af15 (diff) | |
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, |
