about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-02-26 23:22:15 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-02-26 23:23:02 +0200
commit6b01f7ac0520473d8c043fb4fe706c2bd0b3dce5 (patch)
tree60f7eed41a2ce19c9f1551955a9cc0f882ff5534 /src/libcore
parenta5214e4330e8186da7b1117119a7dccfc36a2e6b (diff)
downloadrust-6b01f7ac0520473d8c043fb4fe706c2bd0b3dce5.tar.gz
rust-6b01f7ac0520473d8c043fb4fe706c2bd0b3dce5.zip
doc: the last mention of the word 'iterator' is redundant
Diffstat (limited to 'src/libcore')
-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 8f767e62678..7921c9a1d5a 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
     ///