Skip to content

Commit

Permalink
Unrolled build for rust-lang#133987
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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.
  • Loading branch information
rust-timer authored Dec 8, 2024
2 parents f415c07 + 5d8233e commit e645b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/thread/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e645b29

Please sign in to comment.