Skip to content

Commit 1e19dbc

Browse files
authored
Tweak wording again
1 parent da4a70c commit 1e19dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/thread/local.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use crate::fmt;
2424
/// [`with`]) within a thread, and values that implement [`Drop`] get
2525
/// destructed when a thread exits. Some platform-specific caveats apply, which
2626
/// are explained below.
27-
/// Note that, should the destructor panic, the whole process will be [aborted].
27+
/// Note that if the destructor panics, the whole process will be [aborted].
2828
///
2929
/// A `LocalKey`'s initializer cannot recursively depend on itself. Using a
3030
/// `LocalKey` in this way may cause panics, aborts, or infinite recursion on

0 commit comments

Comments
 (0)