diff options
| author | lukaslueg <lukas.lueg@gmail.com> | 2019-02-04 11:21:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-04 11:21:39 +0100 |
| commit | e3bbd67110e977a0f17b5d9009b86563826e5df4 (patch) | |
| tree | 32529955b501951603f52355ac33d432142d5a88 /src/libcore/iter | |
| parent | 8ae730a442cc8af6a487a137ae9ba78f89edbba6 (diff) | |
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.
Diffstat (limited to 'src/libcore/iter')
| -rw-r--r-- | src/libcore/iter/traits/iterator.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/iter/traits/iterator.rs b/src/libcore/iter/traits/iterator.rs index 9dfa83f473b..218c7199f35 100644 --- a/src/libcore/iter/traits/iterator.rs +++ b/src/libcore/iter/traits/iterator.rs @@ -952,8 +952,7 @@ pub trait Iterator { /// ``` /// /// The `3` is no longer there, because it was consumed in order to see if - /// the iteration should stop, but wasn't placed back into the iterator or - /// some similar thing. + /// the iteration should stop, but wasn't placed back into the iterator. #[inline] #[stable(feature = "rust1", since = "1.0.0")] fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where |
