Add reverse search alias for Iterator::rev()

This commit is contained in:
Sebastian Widua 2021-03-13 01:09:53 +01:00
parent b3e19a221e
commit f201746625

View file

@ -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