File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ use crate::fmt;
8
8
9
9
/// A thread local storage (TLS) key which owns its contents.
10
10
///
11
- /// This key uses the fastest possible implementation available to it for the
12
- /// target platform. It is instantiated with the [`thread_local!`] macro and the
11
+ /// This key uses the fastest implementation available on the target platform.
12
+ /// It is instantiated with the [`thread_local!`] macro and the
13
13
/// primary method is the [`with`] method, though there are helpers to make
14
14
/// working with [`Cell`] types easier.
15
15
///
@@ -24,10 +24,10 @@ use crate::fmt;
24
24
/// [`with`]) within a thread, and values that implement [`Drop`] get
25
25
/// destructed when a thread exits. Some platform-specific caveats apply, which
26
26
/// are explained below.
27
- /// Note that, should the destructor panics, the whole process will be [aborted].
27
+ /// Note that if the destructor panics, the whole process will be [aborted].
28
28
///
29
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
30
+ /// `LocalKey` in this way may cause panics, aborts, or infinite recursion on
31
31
/// the first call to `with`.
32
32
///
33
33
/// [aborted]: crate::process::abort
You can’t perform that action at this time.
0 commit comments