summaryrefslogtreecommitdiff
path: root/src/key.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2024-05-21 13:39:57 -0400
committerBotahamec <botahamec@outlook.com>2024-05-21 13:39:57 -0400
commita4625296cb98a68a590ae1aa78b07f190a850f37 (patch)
tree01487106e65b1cde4f8dda2f35f2300d9a105429 /src/key.rs
parent6e3aa5182604b30ef75ba5676e9f677cc1d18fe3 (diff)
fix errors
Diffstat (limited to 'src/key.rs')
-rw-r--r--src/key.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key.rs b/src/key.rs
index 1cfa209..875f4be 100644
--- a/src/key.rs
+++ b/src/key.rs
@@ -20,7 +20,7 @@ static KEY: Lazy<ThreadLocal<AtomicLock>> = Lazy::new(ThreadLocal::new);
/// The key for the current thread.
///
/// Only one of these exist per thread. To get the current thread's key, call
-/// [`ThreadKey::get`]. If the `ThreadKey` is dropped, it can be reobtained.
+/// [`ThreadKey::get`]. If the `ThreadKey` is dropped, it can be re-obtained.
pub struct ThreadKey {
phantom: PhantomData<*const ()>, // implement !Send and !Sync
}