about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill-Low <26700668+Will-Low@users.noreply.github.com>2024-12-06 15:33:05 -0800
committerGitHub <noreply@github.com>2024-12-06 15:33:05 -0800
commit5d8233edbfdafa59e6efae77a74d3ce87ee5347d (patch)
tree97d798f708228c9a953a888b3a4bc3c49ff477d8
parent8dc83770f748c6cd16b342889ca2240397c19534 (diff)
downloadrust-5d8233edbfdafa59e6efae77a74d3ce87ee5347d.tar.gz
rust-5d8233edbfdafa59e6efae77a74d3ce87ee5347d.zip
Define acronym for thread local storage
There are multiple references in this module's documentation to the acronym "TLS", 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.rs2
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