about summary refs log tree commit diff
path: root/library/std/src/sync
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-02 22:35:22 +0200
committerGitHub <noreply@github.com>2024-09-02 22:35:22 +0200
commit3ddf061926533a2db9368b2e27536aeca6fbc1fe (patch)
tree87575b8df341799122696352d34fd4cf1950dedc /library/std/src/sync
parent929b3085798f4c9d3ab6d32ba967325d0414ccfe (diff)
parent06e3552ad0adec05fad5aabb549ad117c8d2461d (diff)
downloadrust-3ddf061926533a2db9368b2e27536aeca6fbc1fe.tar.gz
rust-3ddf061926533a2db9368b2e27536aeca6fbc1fe.zip
Rollup merge of #129890 - alex:patch-1, r=workingjubilee
Remove stray word in a comment
Diffstat (limited to 'library/std/src/sync')
-rw-r--r--library/std/src/sync/once_lock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/once_lock.rs b/library/std/src/sync/once_lock.rs
index a51e5c1b76b..be615a5a8ef 100644
--- a/library/std/src/sync/once_lock.rs
+++ b/library/std/src/sync/once_lock.rs
@@ -517,7 +517,7 @@ impl<T> OnceLock<T> {
                     res = Err(e);
 
                     // Treat the underlying `Once` as poisoned since we
-                    // failed to initialize our value. Calls
+                    // failed to initialize our value.
                     p.poison();
                 }
             }