Skip to content

Commit

Permalink
Unrolled build for rust-lang#116484
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#116484 - peterjoel:once-doc-clarify, r=cuviper

Minor doc clarification in Once::call_once
  • Loading branch information
rust-timer authored Oct 6, 2023
2 parents 94bc9c7 + c95015c commit b4c5e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sync/once.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl Once {
///
/// # Panics
///
/// 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
/// concurrently amongst many threads. If that closure panics, however, then
/// it will *poison* this [`Once`] instance, causing all future invocations of
/// `call_once` to also panic.
Expand Down

0 comments on commit b4c5e79

Please sign in to comment.