Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc search: path matches that skip segments should be deprioritized #129717

Open
lolbinarycat opened this issue Aug 29, 2024 · 1 comment
Open
Labels
A-rustdoc-search Area: Rustdoc's search feature C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@lolbinarycat
Copy link
Contributor

a search for collections::b matches std::collections::LinkedList::back far before it matches std::collections::BTreeMap.

ommitting segments at the start and end should not be penalized, but ommitting them in the middle should be.

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 29, 2024
@lolbinarycat
Copy link
Contributor Author

@rustbot label A-rustdoc-search T-rustdoc

@rustbot rustbot added A-rustdoc-search Area: Rustdoc's search feature T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Aug 29, 2024
@fmease fmease added C-enhancement Category: An issue proposing an enhancement or a PR with one. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Aug 29, 2024
@fmease fmease changed the title rustdoc search: path matches that skip segments should be deprioratized rustdoc search: path matches that skip segments should be deprioritized Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-search Area: Rustdoc's search feature C-enhancement Category: An issue proposing an enhancement or a PR with one. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants