Skip to content

Commit

Permalink
Define acronym for thread local storage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Will-Low authored and gitbot committed Feb 20, 2025
1 parent af8f23b commit a822c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 a822c03

Please sign in to comment.