about summary refs log tree commit diff
path: root/src/libstd/sync/mpsc_queue.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-02-17 22:53:45 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-02-18 08:05:35 +1100
commit6555b04dd2fbcd18c8fa8beb2bebc4b81febc6b0 (patch)
tree67b79727570ea14a3b0520b5562aa9e1fba154f9 /src/libstd/sync/mpsc_queue.rs
parentc8489069b43191c5298f17430933b3b88fb79c3c (diff)
downloadrust-6555b04dd2fbcd18c8fa8beb2bebc4b81febc6b0.tar.gz
rust-6555b04dd2fbcd18c8fa8beb2bebc4b81febc6b0.zip
Spellcheck library docs.
Diffstat (limited to 'src/libstd/sync/mpsc_queue.rs')
-rw-r--r--src/libstd/sync/mpsc_queue.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/sync/mpsc_queue.rs b/src/libstd/sync/mpsc_queue.rs
index b5a55f3f8c9..2dc63380cb8 100644
--- a/src/libstd/sync/mpsc_queue.rs
+++ b/src/libstd/sync/mpsc_queue.rs
@@ -104,7 +104,7 @@ impl<T: Send> Queue<T> {
     ///
     /// Note that the current implementation means that this function cannot
     /// return `Option<T>`. It is possible for this queue to be in an
-    /// inconsistent state where many pushes have suceeded and completely
+    /// inconsistent state where many pushes have succeeded and completely
     /// finished, but pops cannot return `Some(t)`. This inconsistent state
     /// happens when a pusher is pre-empted at an inopportune moment.
     ///
@@ -203,4 +203,3 @@ mod tests {
         }
     }
 }
-