diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2021-04-29 19:27:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-29 19:27:27 -0400 |
| commit | 32c5f39fafecba74ea09ef7b122a62ac6297ce71 (patch) | |
| tree | 490b3356748205aa91a28d959aa8f017a42759e5 | |
| parent | e6d8683239f27d2b99f50f71fb15dcf14d66c436 (diff) | |
| parent | 20b569f579842d6e0dd70ae86b8206ad04b1ec24 (diff) | |
| download | rust-32c5f39fafecba74ea09ef7b122a62ac6297ce71.tar.gz rust-32c5f39fafecba74ea09ef7b122a62ac6297ce71.zip | |
Rollup merge of #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.
| -rw-r--r-- | library/core/src/iter/traits/iterator.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/iter/traits/iterator.rs b/library/core/src/iter/traits/iterator.rs index 7977d599ae7..da9e5fde7cc 100644 --- a/library/core/src/iter/traits/iterator.rs +++ b/library/core/src/iter/traits/iterator.rs @@ -2133,7 +2133,6 @@ pub trait Iterator { /// ``` /// /// [`reduce()`]: Iterator::reduce - #[doc(alias = "reduce")] #[doc(alias = "inject")] #[inline] #[stable(feature = "rust1", since = "1.0.0")] |
