[rustdoc search] sort stable items above unstable ones
Open
@lolbinarycat is already working on this.
Since Mar 7, 2025.
A-rustdoc-search
C-bug
T-rustdoc
T-rustdoc-frontend
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
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 stable mpsc 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.