about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-06-09 00:00:52 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-06-10 11:24:17 -0400
commitc2c99463720e758d5aa0bdcea19dc5b3dd67292c (patch)
treeb6744e6d280594324f1f22fe8b76ccd03f7eedb0 /src/libstd
parent0ee6a8e8a564ec0134ebdc0869fab5e4bb28024c (diff)
downloadrust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.tar.gz
rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.zip
Fix more misspelled comments and strings.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/comm/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/comm/mod.rs b/src/libstd/comm/mod.rs
index 170618e276b..ffb2a0dbed8 100644
--- a/src/libstd/comm/mod.rs
+++ b/src/libstd/comm/mod.rs
@@ -542,7 +542,7 @@ impl<T: Send> Sender<T> {
     /// ```
     pub fn send_opt(&self, t: T) -> Result<(), T> {
         // In order to prevent starvation of other tasks in situations where
-        // a task sends repeatedly without ever receiving, we occassionally
+        // a task sends repeatedly without ever receiving, we occasionally
         // yield instead of doing a send immediately.
         //
         // Don't unconditionally attempt to yield because the TLS overhead can