Skip to content

Methods of core trait that have doc aliases are found twice #81696

Open
@LunaBorowska

Description

@LunaBorowska

If you search for a method in core trait that has an alias it appears twice on the list.

For example:

https://doc.rust-lang.org/nightly/std/?search=length

This shows core::iter::ExactSizeIterator::len twice.

image

This issue is also shown by https://doc.rust-lang.org/nightly/std/?search=reduce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateA-doc-aliasArea: `#[doc(alias)]`C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions