Skip to content

Commit e2e3aac

Browse files
authored
Rollup merge of #72528 - emosenkis:patch-1, r=dtolnay
Fix typo in doc comment. call_one_force -> call_on**c**e_force
2 parents 8692c45 + 806f581 commit e2e3aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/once.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ impl Once {
272272
/// result in an immediate panic. If `f` panics, the `Once` will remain
273273
/// in a poison state. If `f` does _not_ panic, the `Once` will no
274274
/// longer be in a poison state and all future calls to `call_once` or
275-
/// `call_one_force` will be no-ops.
275+
/// `call_once_force` will be no-ops.
276276
///
277277
/// The closure `f` is yielded a [`OnceState`] structure which can be used
278278
/// to query the poison status of the `Once`.

0 commit comments

Comments
 (0)