about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-04 13:21:27 +0200
committerGitHub <noreply@github.com>2023-06-04 13:21:27 +0200
commitcbc3e3f641b8e0f508e2a6dd0cb49bd64dfbb41c (patch)
tree047cf4c4768e1a3fc7c2c3d3743d75648de81f5f
parent629a1e441953337e3eddb356214c7147c8c4375c (diff)
parent793fa8d7c5535867510de90b945f1e01d0eca496 (diff)
downloadrust-cbc3e3f641b8e0f508e2a6dd0cb49bd64dfbb41c.tar.gz
rust-cbc3e3f641b8e0f508e2a6dd0cb49bd64dfbb41c.zip
Rollup merge of #112172 - tshepang:patch-1, r=Mark-Simulacrum
doc: improve explanation
-rw-r--r--library/std/src/sync/once.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/once.rs b/library/std/src/sync/once.rs
index 1b17c31089f..8c46080e43b 100644
--- a/library/std/src/sync/once.rs
+++ b/library/std/src/sync/once.rs
@@ -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