Skip to content

Commit

Permalink
Add drop_while as doc alias to Iterator::skip_while
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptDevil committed Nov 30, 2021
1 parent 94bec90 commit dea3494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/iter/traits/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dea3494

Please sign in to comment.