Skip to content

Commit

Permalink
Rollup merge of #84706 - joshtriplett:reduce-aliases, r=m-ou-se
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jackh726 committed Apr 29, 2021
2 parents 6f279a3 + 20b569f commit 39f0fdc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/core/src/iter/traits/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2133,7 +2133,6 @@ pub trait Iterator {
/// ```
///
/// [`reduce()`]: Iterator::reduce
#[doc(alias = "reduce")]
#[doc(alias = "inject")]
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
Expand Down

0 comments on commit 39f0fdc

Please sign in to comment.