diff --git a/src/libstd/treemap.rs b/src/libstd/treemap.rs index 6b0acaecaae2..81e5aa179280 100644 --- a/src/libstd/treemap.rs +++ b/src/libstd/treemap.rs @@ -36,7 +36,7 @@ use core::prelude::*; // * intersection: & // * difference: - // * symmetric difference: ^ -// These would be convenient since the methods will work like `each` +// These would be convenient since the methods work like `each` pub struct TreeMap { priv root: Option<~TreeNode>, @@ -163,7 +163,7 @@ pub struct TreeMapIterator { impl TreeMapIterator { /// Advance the iterator to the next node (in order) and return a /// tuple with a reference to the key and value. If there are no - /// more nodes, return None. + /// more nodes, return `None`. fn next(&mut self) -> Option<(&self/K, &self/V)> { while self.stack.is_not_empty() || self.node.is_some() { match *self.node {