File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,15 @@ use crate::fmt;
26
26
/// are explained below.
27
27
/// Note that, should the destructor panic, the whole process will be [aborted].
28
28
/// On platforms where initialization requires memory allocation, this is
29
- /// performed directly through [`System`], allowing the [` global allocator` ]
29
+ /// performed directly through [`System`], allowing the [global allocator]
30
30
/// to make use of thread local storage.
31
31
///
32
- /// [`System`]: crate::alloc::System
33
- /// [`global allocator`]: crate::alloc
34
- ///
35
32
/// A `LocalKey`'s initializer cannot recursively depend on itself. Using a
36
33
/// `LocalKey` in this way may cause panics, aborts or infinite recursion on
37
34
/// the first call to `with`.
38
35
///
36
+ /// [`System`]: crate::alloc::System
37
+ /// [global allocator]: crate::alloc
39
38
/// [aborted]: crate::process::abort
40
39
///
41
40
/// # Single-thread Synchronization
You can’t perform that action at this time.
0 commit comments