about summary refs log tree commit diff
path: root/library/std/src/sync
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2023-06-01 12:55:58 +0200
committerGitHub <noreply@github.com>2023-06-01 12:55:58 +0200
commit793fa8d7c5535867510de90b945f1e01d0eca496 (patch)
tree03879f26f859cf255aa38d1d05525acf0747eefb /library/std/src/sync
parentfabf9298633ca64450fa2af535252dc44a3b1080 (diff)
downloadrust-793fa8d7c5535867510de90b945f1e01d0eca496.tar.gz
rust-793fa8d7c5535867510de90b945f1e01d0eca496.zip
doc: improve explanation
Diffstat (limited to 'library/std/src/sync')
-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