From dea3494b3122e950d91cb5f387ff6dcdac8e2ab6 Mon Sep 17 00:00:00 2001 From: Ashok Gautham Jadatharan Date: Tue, 30 Nov 2021 10:27:16 +0530 Subject: [PATCH] Add `drop_while` as doc alias to `Iterator::skip_while` --- library/core/src/iter/traits/iterator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index f3ef6b3d0185e..35ce9400f8f4d 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -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

(self, predicate: P) -> SkipWhile where