Add drop_while
as doc alias to Iterator::skip_while
This commit is contained in:
parent
94bec90702
commit
dea3494b31
@ -1023,6 +1023,7 @@ pub trait Iterator {
|
||||
/// assert_eq!(iter.next(), None);
|
||||
/// ```
|
||||
#[inline]
|
||||
#[doc(alias = "drop_while")]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
|
||||
where
|
||||
|
Loading…
x
Reference in New Issue
Block a user