about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-10 15:17:01 -0700
committerbors <bors@rust-lang.org>2014-06-10 15:17:01 -0700
commitb1302f9c4f6619bf83fff39b305b990d8f628eb7 (patch)
tree00429f512aed143f46f4b0ea8a23c2028db2c123 /src/libstd
parent7f777a5ba49785a74e5365e9897ddf4c02ea8519 (diff)
parentc2c99463720e758d5aa0bdcea19dc5b3dd67292c (diff)
downloadrust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.tar.gz
rust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.zip
auto merge of #14764 : jbcrail/rust/fix-more-comments, r=alexcrichton
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