doc: improve explanation

This commit is contained in:
Tshepang Mbambo 2023-06-01 12:55:58 +02:00 committed by GitHub
parent fabf929863
commit 793fa8d7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ impl Once {
/// return).
///
/// If the given closure recursively invokes `call_once` on the same [`Once`]
/// instance the exact behavior is not specified, allowed outcomes are
/// instance, the exact behavior is not specified: allowed outcomes are
/// a panic or a deadlock.
///
/// # Examples