about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorStjepan Glavina <stjepang@gmail.com>2017-02-15 23:26:29 +0100
committerStjepan Glavina <stjepang@gmail.com>2017-02-15 23:31:51 +0100
commit1fbbe79bcb97cc85dfe5f6c431b7aca9784a9bd4 (patch)
tree0fb728078ad29e8d0560cec4d243563631a23cc3 /src/libstd/sync
parent025c328bf5ab336ff708e62a59292298dc1bc089 (diff)
downloadrust-1fbbe79bcb97cc85dfe5f6c431b7aca9784a9bd4.tar.gz
rust-1fbbe79bcb97cc85dfe5f6c431b7aca9784a9bd4.zip
Fix wording in LocalKey documentation
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/once.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs
index ba993751391..1e7394c0b09 100644
--- a/src/libstd/sync/once.rs
+++ b/src/libstd/sync/once.rs
@@ -316,7 +316,7 @@ impl Once {
                         }
 
                         // Once we've enqueued ourselves, wait in a loop.
-                        // Aftewards reload the state and continue with what we
+                        // Afterwards reload the state and continue with what we
                         // were doing from before.
                         while !node.signaled.load(Ordering::SeqCst) {
                             thread::park();