diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2022-05-01 00:02:34 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2022-05-01 00:02:34 +0300 |
| commit | 6083db7c4ef72ee5435e8157ba5b3f5397da1080 (patch) | |
| tree | e97f6cc1e6d473d661f41deb1d26b1f378af26b9 /library/std/src/thread/local.rs | |
| parent | 8b214218730265f8f397615835f5158582835bef (diff) | |
| download | rust-6083db7c4ef72ee5435e8157ba5b3f5397da1080.tar.gz rust-6083db7c4ef72ee5435e8157ba5b3f5397da1080.zip | |
Fix some links in the standard library
Diffstat (limited to 'library/std/src/thread/local.rs')
| -rw-r--r-- | library/std/src/thread/local.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs index 4ab8fb2e905..f4750cdf764 100644 --- a/library/std/src/thread/local.rs +++ b/library/std/src/thread/local.rs @@ -21,6 +21,8 @@ use crate::fmt; /// The [`with`] method yields a reference to the contained value which cannot be /// sent across threads or escape the given closure. /// +/// [`thread_local!`]: crate::thread_local +/// /// # Initialization and Destruction /// /// Initialization is dynamically performed on the first call to [`with`] |
