diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-03-14 13:07:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-14 13:07:35 +0900 |
| commit | 54546a893d76dff733d03d065272953547e3e366 (patch) | |
| tree | 4f94da977404ac422300924e9e7dd91b063f533e | |
| parent | dda9d0589f6b8e6bf76102ea0d8c6930ea46fec3 (diff) | |
| parent | f2017466259ed99f7ec5ea8273c6e2a6393cf649 (diff) | |
| download | rust-54546a893d76dff733d03d065272953547e3e366.tar.gz rust-54546a893d76dff733d03d065272953547e3e366.zip | |
Rollup merge of #83066 - Seppel3210:master, r=joshtriplett
Add `reverse` search alias for Iterator::rev() When searching for "reverse" in rustdoc you can't find the rev method on Iterator so here is a search alias for that.
| -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 e179ce01c41..f8504e842ee 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -2737,6 +2737,7 @@ pub trait Iterator { /// assert_eq!(iter.next(), None); /// ``` #[inline] + #[doc(alias = "reverse")] #[stable(feature = "rust1", since = "1.0.0")] fn rev(self) -> Rev<Self> where |
