We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da14081 commit 2563fbeCopy full SHA for 2563fbe
library/std/src/thread/local.rs
@@ -18,8 +18,8 @@ use crate::fmt;
18
/// target platform. It is instantiated with the [`thread_local!`] macro and the
19
/// primary method is the [`with`] method.
20
///
21
-/// The [`with`] method yields a reference to the contained value which cannot be
22
-/// sent across threads or escape the given closure.
+/// The [`with`] method yields a reference to the contained value which cannot
+/// outlive the current thread or escape the given closure.
23
24
/// [`thread_local!`]: crate::thread_local
25
0 commit comments