about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-27 11:45:09 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-27 22:07:04 +0530
commit08360892a0f842ef60ea795469fb7330b5874849 (patch)
tree4b8057fd24020585da9ed18730372be797db6903
parent26518236149dd3435e1d1f15627b56dc713e8524 (diff)
parent6b01f7ac0520473d8c043fb4fe706c2bd0b3dce5 (diff)
downloadrust-08360892a0f842ef60ea795469fb7330b5874849.tar.gz
rust-08360892a0f842ef60ea795469fb7330b5874849.zip
Rollup merge of #22848 - tshepang:redundant-mention, r=brson
-rw-r--r--src/libcore/iter.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index 2b107267368..94cc933d844 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -171,8 +171,7 @@ pub trait IteratorExt: Iterator + Sized {
         self.fold(0, |cnt, _x| cnt + 1)
     }
 
-    /// Loops through the entire iterator, returning the last element of the
-    /// iterator.
+    /// Loops through the entire iterator, returning the last element.
     ///
     /// # Examples
     ///