summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-06 05:37:17 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-06 16:21:06 +0530
commit08a2bef63286479f6abab22f23e3b48e58e5c711 (patch)
tree4d0dca171aa29878aa198d61d07030920e292212 /src/libstd/sync
parent6bf0cd8f0031d02eaa341adc62a7cba1af435063 (diff)
parentdc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (diff)
downloadrust-08a2bef63286479f6abab22f23e3b48e58e5c711.tar.gz
rust-08a2bef63286479f6abab22f23e3b48e58e5c711.zip
Rollup merge of #21954 - jbcrail:fix-misspelled-comments, r=steveklabnik
 The spelling corrections were made in both documentation comments and
regular comments.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/mpsc/oneshot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/oneshot.rs b/src/libstd/sync/mpsc/oneshot.rs
index ca667e65e30..eb45681fa62 100644
--- a/src/libstd/sync/mpsc/oneshot.rs
+++ b/src/libstd/sync/mpsc/oneshot.rs
@@ -45,7 +45,7 @@ use core::mem;
 use sync::atomic::{AtomicUsize, Ordering};
 
 // Various states you can find a port in.
-const EMPTY: uint = 0;          // initial state: no data, no blocked reciever
+const EMPTY: uint = 0;          // initial state: no data, no blocked receiver
 const DATA: uint = 1;           // data ready for receiver to take
 const DISCONNECTED: uint = 2;   // channel is disconnected OR upgraded
 // Any other value represents a pointer to a SignalToken value. The