[rustdoc search] sort stable items above unstable ones #138067
Labels
A-rustdoc-search
Area: Rustdoc's search feature
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-rustdoc-frontend
Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
I looked up "channel", clicked on the first result, copied that path to my code...
and was very surprised when i was actually using the unstable
mpmc
one instead of the stablempsc
channel.I think name/path matching should generally take priority (otherwise people who are actually looking for unstable items would be massively inconvenienced), but when two items have the same distance, we should prioritize the one that is stable.
The text was updated successfully, but these errors were encountered: