Skip to content

Commit cbc3e3f

Browse files
authored
Rollup merge of rust-lang#112172 - tshepang:patch-1, r=Mark-Simulacrum
doc: improve explanation
2 parents 629a1e4 + 793fa8d commit cbc3e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sync/once.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ impl Once {
9191
/// return).
9292
///
9393
/// If the given closure recursively invokes `call_once` on the same [`Once`]
94-
/// instance the exact behavior is not specified, allowed outcomes are
94+
/// instance, the exact behavior is not specified: allowed outcomes are
9595
/// a panic or a deadlock.
9696
///
9797
/// # Examples

0 commit comments

Comments
 (0)