Add drop_while as doc alias to Iterator::skip_while

This commit is contained in:
Ashok Gautham Jadatharan 2021-11-30 10:27:16 +05:30
parent 94bec90702
commit dea3494b31

View File

@ -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