Skip to content

Commit

Permalink
Rollup merge of rust-lang#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 authored Apr 29, 2021
2 parents 414ba93 + 20b569f commit 07545de
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 07545de

Please sign in to comment.