Add reverse
search alias for Iterator::rev()
This commit is contained in:
parent
b3e19a221e
commit
f201746625
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue