mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
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
|
||||
/// assert_eq!(result, result2);
|
||||
/// ```
|
||||
#[inline]
|
||||
#[doc(alias = "reduce")]
|
||||
#[doc(alias = "inject")]
|
||||
#[inline]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
fn fold<B, F>(mut self, init: B, mut f: F) -> B
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user