diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-08 14:28:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-08 14:28:25 +0100 |
| commit | a12f3aaf3d5af4c9d3d7ccc010b5d07f1a23ee63 (patch) | |
| tree | 9742aeec450b3a80e61c335344b28a4888c0c908 | |
| parent | bf74478bab0c3b74461d422d069da7c9b7f354dc (diff) | |
| parent | 5d8233edbfdafa59e6efae77a74d3ce87ee5347d (diff) | |
| download | rust-a12f3aaf3d5af4c9d3d7ccc010b5d07f1a23ee63.tar.gz rust-a12f3aaf3d5af4c9d3d7ccc010b5d07f1a23ee63.zip | |
Rollup merge of #133987 - Will-Low:DefineTlsAcronym, r=workingjubilee
Define acronym for thread local storage There are multiple references in this module's documentation to the acronym "TLS" (meaning "thread local storage"), without defining it. This is confusing for the reader. I propose that this acronym be defined during the first use of the term.
| -rw-r--r-- | library/std/src/thread/local.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/local.rs b/library/std/src/thread/local.rs index 56cf438bd9b..2313f4b5beb 100644 --- a/library/std/src/thread/local.rs +++ b/library/std/src/thread/local.rs @@ -12,7 +12,7 @@ use crate::cell::{Cell, RefCell}; use crate::error::Error; use crate::fmt; -/// A thread local storage key which owns its contents. +/// A thread local storage (TLS) key which owns its contents. /// /// This key uses the fastest possible implementation available to it for the /// target platform. It is instantiated with the [`thread_local!`] macro and the |
