Skip to content

Commit 20b569f

Browse files
committed
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.
1 parent 814a560 commit 20b569f

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)