We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8692c45 + 806f581 commit e2e3aacCopy full SHA for e2e3aac
src/libstd/sync/once.rs
@@ -272,7 +272,7 @@ impl Once {
272
/// result in an immediate panic. If `f` panics, the `Once` will remain
273
/// in a poison state. If `f` does _not_ panic, the `Once` will no
274
/// longer be in a poison state and all future calls to `call_once` or
275
- /// `call_one_force` will be no-ops.
+ /// `call_once_force` will be no-ops.
276
///
277
/// The closure `f` is yielded a [`OnceState`] structure which can be used
278
/// to query the poison status of the `Once`.
0 commit comments