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: for argument based searches, deprioritize associated items #134936

Open
lolbinarycat opened this issue Dec 30, 2024 · 0 comments
Open
Labels
A-rustdoc-search Area: Rustdoc's search feature A-type-based-search Area: Searching rustdoc pages using type signatures T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Comments

@lolbinarycat
Copy link
Contributor

Inspired by discussion on #131806, opening an issue so it can be discussed separately.

currently, both "In Parameters" and "Type ->" searches are dominated by methods on that type (and if the aforementioned PR is merged, fields will also clutter such searches)

however, associated items for a type can easily be viewed simply by going to that type's page, so arguably this form of search should prioritize free functions and methods of other types, which are harder to find.

this could be considered the dual of #134935

@lolbinarycat lolbinarycat added the A-type-based-search Area: Searching rustdoc pages using type signatures label Dec 30, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Dec 30, 2024
@lolbinarycat lolbinarycat added T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. A-rustdoc-search Area: Rustdoc's search feature and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Dec 30, 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 A-type-based-search Area: Searching rustdoc pages using type signatures T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Projects
None yet
Development

No branches or pull requests

2 participants