Skip to content

tweak search result order #132575

Description

@lolbinarycat

a search for Result::Ok will show first the method result::Result::ok, then several aliases such as io::Result::Ok, then result::Result::Ok, then more aliases.

there are two changes required to present a more logical order:

  • prioritize variants over methods (inspired by this discussion)
  • de-prioritize type aliases and variants/fields thereof.

search results

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.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