Skip to content

Commit ea0065a

Browse files
authored
Reposition iterator doc alias reduce before inline
1 parent 1994cee commit ea0065a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1976,9 +1976,9 @@ pub trait Iterator {
19761976
/// // they're the same
19771977
/// assert_eq!(result, result2);
19781978
/// ```
1979-
#[inline]
19801979
#[doc(alias = "reduce")]
19811980
#[doc(alias = "inject")]
1981+
#[inline]
19821982
#[stable(feature = "rust1", since = "1.0.0")]
19831983
fn fold<B, F>(mut self, init: B, mut f: F) -> B
19841984
where

0 commit comments

Comments
 (0)