Skip to content

Commit d0841c7

Browse files
authored
Fix typos in LocalKey documentation
1 parent 16ad385 commit d0841c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/thread/local.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ 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 panics, the whole process will be [aborted].
27+
/// Note that, should the destructor panic, the whole process will be [aborted].
2828
///
2929
/// A `LocalKey`'s initializer cannot recursively depend on itself. Using a
30-
/// `LocalKey` in this way may cause panics, aborts or infinite recursion on
30+
/// `LocalKey` in this way may cause panics, aborts, or infinite recursion on
3131
/// the first call to `with`.
3232
///
3333
/// [aborted]: crate::process::abort

0 commit comments

Comments
 (0)