mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Add drop_while as doc alias to Iterator::skip_while
This commit is contained in:
@@ -1023,6 +1023,7 @@ fn peekable(self) -> Peekable<Self>
|
||||
/// 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
|
||||
|
||||
Reference in New Issue
Block a user