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.
This commit is contained in:
Matthias Krüger 2024-12-08 14:28:25 +01:00 committed by GitHub
commit a12f3aaf3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ use crate::cell::{Cell, RefCell};
use crate::error::Error; use crate::error::Error;
use crate::fmt; 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 /// This key uses the fastest possible implementation available to it for the
/// target platform. It is instantiated with the [`thread_local!`] macro and the /// target platform. It is instantiated with the [`thread_local!`] macro and the