Skip to content

Commit 5d8233e

Browse files
authored
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 8dc8377 commit 5d8233e

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)