Skip to content

Commit 7a4e77b

Browse files
committed
Add drop_while as doc alias to Iterator::skip_while
1 parent b65d6a5 commit 7a4e77b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/iter/traits/iterator.rs

Lines changed: 1 addition & 0 deletions
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)