diff options
| author | Quinn Tucker <qxzcode@users.noreply.github.com> | 2025-08-19 19:05:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 19:05:19 -0400 |
| commit | e84d29284c0f4d83e4033b39c6f21826d448373b (patch) | |
| tree | e365c1387f5ee5ef9573b5c5cafc4dfe6a18e2fe | |
| parent | 14022c8a9a3c667f24602fae3cbfad9a3ead50b1 (diff) | |
| download | rust-e84d29284c0f4d83e4033b39c6f21826d448373b.tar.gz rust-e84d29284c0f4d83e4033b39c6f21826d448373b.zip | |
Tweak wording again
| -rw-r--r-- | library/std/src/thread/local.rs | 2 |
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 |
