about summary refs log tree commit diff
path: root/src/libextra
diff options
context:
space:
mode:
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.