We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14022c8 commit e84d292Copy full SHA for e84d292
library/std/src/thread/local.rs
@@ -24,7 +24,7 @@ use crate::fmt;
24
/// [`with`]) within a thread, and values that implement [`Drop`] get
25
/// destructed when a thread exits. Some platform-specific caveats apply, which
26
/// are explained below.
27
-/// Note that, should the destructor panic, the whole process will be [aborted].
+/// Note that if the destructor panics, the whole process will be [aborted].
28
///
29
/// A `LocalKey`'s initializer cannot recursively depend on itself. Using a
30
/// `LocalKey` in this way may cause panics, aborts, or infinite recursion on
0 commit comments