diff options
| author | Ashok Gautham Jadatharan <scriptdevil@zoho.com> | 2021-11-30 10:27:16 +0530 |
|---|---|---|
| committer | Ashok Gautham Jadatharan <scriptdevil@zoho.com> | 2021-11-30 10:27:16 +0530 |
| commit | dea3494b3122e950d91cb5f387ff6dcdac8e2ab6 (patch) | |
| tree | 7f6136599e511d36033bedb59cf1bcdfac4bb22e | |
| parent | 94bec9070223606632d6112b38670ea1c72763f4 (diff) | |
| download | rust-dea3494b3122e950d91cb5f387ff6dcdac8e2ab6.tar.gz rust-dea3494b3122e950d91cb5f387ff6dcdac8e2ab6.zip | |
Add `drop_while` as doc alias to `Iterator::skip_while`
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index f3ef6b3d018..35ce9400f8f 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<P>(self, predicate: P) -> SkipWhile<Self, P> where |
