Skip to content

Commit e3bbd67

Browse files
authored
Remove weasel word in docs for iter's take_while()
The phrase "... or some similar thing." is very vague and contributes nothing to understanding the example. Simply removed.
1 parent 8ae730a commit e3bbd67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/iter/traits/iterator.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,7 @@ pub trait Iterator {
952952
/// ```
953953
///
954954
/// 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.
955+
/// the iteration should stop, but wasn't placed back into the iterator.
957956
#[inline]
958957
#[stable(feature = "rust1", since = "1.0.0")]
959958
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where

0 commit comments

Comments
 (0)