Skip to content

Commit a12f3aa

Browse files
authored
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.
2 parents bf74478 + 5d8233e commit a12f3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/std/src/thread/local.rs

+1-1
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)