rustdoc: Only show the original item for re-exported items in search results #78719
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.
Currently rustdoc will show all items that match the query string, even re-exported ones, which can be kind of frustrating when I get a bunch of results that are actually all the same thing:
I propose that instead we only index the original item, not any of the re-exports. I am not saying that we don't inline documentation from the original, just that we only store the original in the search index.
See also: #15723, #24305
The text was updated successfully, but these errors were encountered: