We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a8aab commit 35633e1Copy full SHA for 35633e1
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