Rollup merge of #112172 - tshepang:patch-1, r=Mark-Simulacrum

doc: improve explanation
This commit is contained in:
Matthias Krüger 2023-06-04 13:21:27 +02:00 committed by GitHub
commit cbc3e3f641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ pub const fn new() -> 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