about summary refs log tree commit diff
path: root/src/libextra
diff options
context:
space:
mode:
authorAlexei Sholik <alcosholik@gmail.com>2013-06-06 10:38:41 +0300
committerAlexei Sholik <alcosholik@gmail.com>2013-06-06 10:48:27 +0300
commite75572c879a5fb9d95e4fe95465a5bf19c7db076 (patch)
tree5e0f82a1394c2acc0429db7b1df8e51794e17a24 /src/libextra
parentc7b19b04cbde053f0cf7a15b989bc6546cd2e265 (diff)
downloadrust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.tar.gz
rust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.zip
Deduplicate words in code comments
Diffstat (limited to 'src/libextra')
-rw-r--r--src/libextra/arc.rs2
-rw-r--r--src/libextra/treemap.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libextra/arc.rs b/src/libextra/arc.rs
index 15c24052563..0618e7aaf65 100644
--- a/src/libextra/arc.rs
+++ b/src/libextra/arc.rs
@@ -96,7 +96,7 @@ impl<'self> Condvar<'self> {
 
     /**
      * Wake up all blocked tasks on a specified condvar (as
-     * sync::cond.broadcast_on). Returns Returns the number of tasks woken.
+     * sync::cond.broadcast_on). Returns the number of tasks woken.
      */
     #[inline(always)]
     pub fn broadcast_on(&self, condvar_id: uint) -> uint {
diff --git a/src/libextra/treemap.rs b/src/libextra/treemap.rs
index c3998479168..ebb0cdc120f 100644
--- a/src/libextra/treemap.rs
+++ b/src/libextra/treemap.rs
@@ -19,7 +19,7 @@ use core::uint;
 use core::util::{swap, replace};
 
 // This is implemented as an AA tree, which is a simplified variation of
-// a red-black tree where where red (horizontal) nodes can only be added
+// a red-black tree where red (horizontal) nodes can only be added
 // as a right child. The time complexity is the same, and re-balancing
 // operations are more frequent but also cheaper.