Skip to content

Commit 151abf6

Browse files
Will-Lowgitbot
authored andcommitted
Define acronym for thread local storage
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.
1 parent eb39f8c commit 151abf6

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)