Skip to content

Commit 321e154

Browse files
authored
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.
2 parents 5e9d429 + e64cc8f commit 321e154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/thread/local.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::cell::{Cell, RefCell};
1212
use crate::error::Error;
1313
use crate::fmt;
1414

15-
/// A thread local storage key which owns its contents.
15+
/// A thread local storage (TLS) key which owns its contents.
1616
///
1717
/// This key uses the fastest possible implementation available to it for the
1818
/// target platform. It is instantiated with the [`thread_local!`] macro and the

0 commit comments

Comments
 (0)