Skip to content

Commit dea3494

Browse files
committed
Add drop_while as doc alias to Iterator::skip_while
1 parent 94bec90 commit dea3494

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/iter/traits/iterator.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,7 @@ pub trait Iterator {
10231023
/// assert_eq!(iter.next(), None);
10241024
/// ```
10251025
#[inline]
1026+
#[doc(alias = "drop_while")]
10261027
#[stable(feature = "rust1", since = "1.0.0")]
10271028
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
10281029
where

0 commit comments

Comments
 (0)