Rollup merge of #112172 - tshepang:patch-1, r=Mark-Simulacrum
doc: improve explanation
This commit is contained in:
commit
cbc3e3f641
@ -91,7 +91,7 @@ pub const fn new() -> Once {
|
|||||||
/// return).
|
/// return).
|
||||||
///
|
///
|
||||||
/// If the given closure recursively invokes `call_once` on the same [`Once`]
|
/// 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.
|
/// a panic or a deadlock.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
Loading…
Reference in New Issue
Block a user