From 793fa8d7c5535867510de90b945f1e01d0eca496 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Thu, 1 Jun 2023 12:55:58 +0200 Subject: [PATCH] doc: improve explanation --- library/std/src/sync/once.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ 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