rustdoc should include aliases in search that only partially matches #140782
Labels
A-rustdoc-search
Area: Rustdoc's search feature
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
T-rustdoc-frontend
Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
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:
The text was updated successfully, but these errors were encountered: