about summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuinn Tucker <qxzcode@users.noreply.github.com>2025-08-19 19:05:19 -0400
committerGitHub <noreply@github.com>2025-08-19 19:05:19 -0400
commite84d29284c0f4d83e4033b39c6f21826d448373b (patch)
treee365c1387f5ee5ef9573b5c5cafc4dfe6a18e2fe
parent14022c8a9a3c667f24602fae3cbfad9a3ead50b1 (diff)
downloadrust-e84d29284c0f4d83e4033b39c6f21826d448373b.tar.gz
rust-e84d29284c0f4d83e4033b39c6f21826d448373b.zip
Tweak wording again
-rw-r--r--library/std/src/thread/local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs
index e255b383323..797feeb2bbb 100644
--- a/library/std/src/thread/local.rs
+++ b/library/std/src/thread/local.rs
@@ -24,7 +24,7 @@ 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 panic, the whole process will be [aborted].
+/// Note that if the destructor panics, 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