-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
rustdoc should include aliases in search that only partially matches #140782
Copy link
Copy link
Closed
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureT-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.
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureT-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
A simple example:
I expect that when I search for term "alias" in the generated doc, it will show the corresponding alias, like when I search for term "struct" it shows reference to
SomeStruct. Currently you will get the reference only if you type the whole alias in the search field.Note, that if you enter "some", I would expect that only result for "SomeStruct" is appeared. In other words, the alias should be found by partial match if there is no result for the aliased thing.
Meta
rustc --version --verbose:This also happens on nightly compiler: