Skip to content

rustdoc search: trait methods should not show the same as inherent methods #132622

Open
@lolbinarycat

Description

@lolbinarycat

did a search for "unchecked" and found this confusing snippet:

tuple::get_unchecked_mut

this the SliceIndex trait method.

additionally, perhaps implementations of trait methods should be deprioritized during name-based search?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-discussionCategory: Discussion or questions that doesn't represent real issues.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