Skip to content

Commit

Permalink
Rollup merge of #133987 - Will-Low:DefineTlsAcronym, r=workingjubilee
Browse files Browse the repository at this point in the history
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
matthiaskrgr authored Dec 8, 2024
2 parents bf74478 + 5d8233e commit a12f3aa
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 a12f3aa

Please sign in to comment.