Skip to content

Commit 07545de

Browse files
authored
Rollup merge of rust-lang#84706 - joshtriplett:reduce-aliases, r=m-ou-se
Drop alias `reduce` for `fold` - we have a `reduce` function Searching for "reduce" currently puts the `reduce` alias for `fold` above the actual `reduce` function. The `reduce` function already has a cross-reference for `fold`, and vice versa.
2 parents 414ba93 + 20b569f commit 07545de

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -2133,7 +2133,6 @@ pub trait Iterator {
21332133
/// ```
21342134
///
21352135
/// [`reduce()`]: Iterator::reduce
2136-
#[doc(alias = "reduce")]
21372136
#[doc(alias = "inject")]
21382137
#[inline]
21392138
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)