Skip to content

Commit 54546a8

Browse files
authored
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.
2 parents dda9d05 + f201746 commit 54546a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/iter/traits/iterator.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2737,6 +2737,7 @@ pub trait Iterator {
27372737
/// assert_eq!(iter.next(), None);
27382738
/// ```
27392739
#[inline]
2740+
#[doc(alias = "reverse")]
27402741
#[stable(feature = "rust1", since = "1.0.0")]
27412742
fn rev(self) -> Rev<Self>
27422743
where

0 commit comments

Comments
 (0)