about summary refs log tree commit diff
path: root/library/std/src/sync
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2024-09-02 09:44:03 -0400
committerGitHub <noreply@github.com>2024-09-02 09:44:03 -0400
commit06e3552ad0adec05fad5aabb549ad117c8d2461d (patch)
tree5c956599936c7c33a9d65f8a164db6c3229d1846 /library/std/src/sync
parent9b82580c7347f800c2550e6719e4218a60a80b28 (diff)
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();
                 }
             }