Add drop_while as doc alias to Iterator::skip_while
This commit is contained in:
parent
94bec90702
commit
dea3494b31
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue