Reposition iterator doc alias reduce before inline
This commit is contained in:
parent
1994cee61a
commit
ea0065ad4f
|
@ -1976,9 +1976,9 @@ pub trait Iterator {
|
||||||
/// // they're the same
|
/// // they're the same
|
||||||
/// assert_eq!(result, result2);
|
/// assert_eq!(result, result2);
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
|
||||||
#[doc(alias = "reduce")]
|
#[doc(alias = "reduce")]
|
||||||
#[doc(alias = "inject")]
|
#[doc(alias = "inject")]
|
||||||
|
#[inline]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
fn fold<B, F>(mut self, init: B, mut f: F) -> B
|
fn fold<B, F>(mut self, init: B, mut f: F) -> B
|
||||||
where
|
where
|
||||||
|
|
Loading…
Reference in New Issue