Fix typo in doc comment.

call_one_force -> call_once_force
This commit is contained in:
Eitan Mosenkis 2020-05-24 11:59:07 +03:00 committed by GitHub
parent 52b605c8cb
commit 806f5815d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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