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

Activity

  1. added
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    on Nov 3, 2024
  2. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Nov 3, 2024
  3. added
    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
    on Nov 4, 2024
  4. removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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