We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 122b2ae commit d0b97abCopy full SHA for d0b97ab
library/std/src/sync/lazy_lock.rs
@@ -20,8 +20,9 @@ union Data<T, F> {
20
/// A value which is initialized on the first access.
21
///
22
/// This type is a thread-safe [`LazyCell`], and can be used in statics.
23
-/// Therefore, any dereferencing call will block the calling thread if
24
-/// another initialization routine is currently running.
+/// Since initialization may be called from multiple threads, any
+/// dereferencing call will block the calling thread if another
25
+/// initialization routine is currently running.
26
27
/// [`LazyCell`]: crate::cell::LazyCell
28
0 commit comments