- Notifications
You must be signed in to change notification settings - Fork 13.8k
Open
Labels
A-doc-aliasArea: `#[doc(alias)]`Area: `#[doc(alias)]`A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Description
Reproduction Steps
search for usize::popcount
in nightly std docs.
Expected Outcome
only usize::count_ones
(and possibly isize::count_ones, due to low edit distances) should show up.
Actual Output
every count_ones
method shows up.

Version
rustdoc 1.91.0-nightly (a1208bf 2025-09-03)
Additional Details
Metadata
Metadata
Assignees
Labels
A-doc-aliasArea: `#[doc(alias)]`Area: `#[doc(alias)]`A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.