-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.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.
Description
Problem
Hello, we already have an option Directly go to item in search if there is only one result which can be enabled in the settings
However, when typing an item path we have a lot of results that shows up and so we can rarely get redirected with the previous option.
Solution
I think that it could be useful to have a feature Directly go to item on exact match.
- This feature would be an option which can be enabled in the settings (so we still let users to choose what they prefer).
- As the name suggests it would redirected to the item documentation when typing the exact path.
For instance, on the previous screenshot when typing std::vec::Vec
it would redirect to the item page.
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.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.