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;
88
99/// A thread local storage (TLS) key which owns its contents.
1010///
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
1313/// primary method is the [`with`] method, though there are helpers to make
1414/// working with [`Cell`] types easier.
1515///
@@ -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 if the destructor panics, 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
You can’t perform that action at this time.
0 commit comments