about summary refs log tree commit diff
path: root/library/std/src/thread/local.rs
diff options
context:
space:
mode:
authorQuinn Tucker <qxzcode@users.noreply.github.com>2025-08-19 16:47:25 -0400
committerGitHub <noreply@github.com>2025-08-19 16:47:25 -0400
commitd0841c7decfa4a9cda77c0078c9140036273133f (patch)
treec3e9800f1b010d2bb2bb8f24030bbafd7afa8cb3 /library/std/src/thread/local.rs
parent16ad385579cebb6f7d53367c552661b6b51a4a02 (diff)
downloadrust-d0841c7decfa4a9cda77c0078c9140036273133f.tar.gz
rust-d0841c7decfa4a9cda77c0078c9140036273133f.zip
Fix typos in LocalKey documentation
Diffstat (limited to 'library/std/src/thread/local.rs')
-rw-r--r--library/std/src/thread/local.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs
index 0ad014ccd3e..701ca88e640 100644
--- a/library/std/src/thread/local.rs
+++ b/library/std/src/thread/local.rs
@@ -24,10 +24,10 @@ use crate::fmt;
 /// [`with`]) within a thread, and values that implement [`Drop`] get
 /// destructed when a thread exits. Some platform-specific caveats apply, which
 /// are explained below.
-/// Note that, should the destructor panics, the whole process will be [aborted].
+/// Note that, should the destructor panic, the whole process will be [aborted].
 ///
 /// A `LocalKey`'s initializer cannot recursively depend on itself. Using a
-/// `LocalKey` in this way may cause panics, aborts or infinite recursion on
+/// `LocalKey` in this way may cause panics, aborts, or infinite recursion on
 /// the first call to `with`.
 ///
 /// [aborted]: crate::process::abort