We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ae730a commit e3bbd67Copy full SHA for e3bbd67
src/libcore/iter/traits/iterator.rs
@@ -952,8 +952,7 @@ pub trait Iterator {
952
/// ```
953
///
954
/// The `3` is no longer there, because it was consumed in order to see if
955
- /// the iteration should stop, but wasn't placed back into the iterator or
956
- /// some similar thing.
+ /// the iteration should stop, but wasn't placed back into the iterator.
957
#[inline]
958
#[stable(feature = "rust1", since = "1.0.0")]
959
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where
0 commit comments