From 6b01f7ac0520473d8c043fb4fe706c2bd0b3dce5 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 26 Feb 2015 23:22:15 +0200 Subject: [PATCH] doc: the last mention of the word 'iterator' is redundant --- src/libcore/iter.rs | 3 +-- 1 file changed, 1 insertion(+), 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 ///