]> git.lizzy.rs Git - rust.git/commitdiff
doc: the last mention of the word 'iterator' is redundant
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 26 Feb 2015 21:22:15 +0000 (23:22 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 26 Feb 2015 21:23:02 +0000 (23:23 +0200)
src/libcore/iter.rs

index 8f767e62678e6b92788181b23e70542daf15b1cb..7921c9a1d5a7c542513df65be40ba7b06491088c 100644 (file)
@@ -171,8 +171,7 @@ fn count(self) -> usize {
         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
     ///