We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8dae0c + c95015c commit 7f0cf8cCopy full SHA for 7f0cf8c
library/std/src/sync/once.rs
@@ -125,7 +125,7 @@ impl Once {
125
///
126
/// # Panics
127
128
- /// The closure `f` will only be executed once if this is called
+ /// The closure `f` will only be executed once even if this is called
129
/// concurrently amongst many threads. If that closure panics, however, then
130
/// it will *poison* this [`Once`] instance, causing all future invocations of
131
/// `call_once` to also panic.
0 commit comments