rustdoc: sort stable items first#149460
Conversation
|
Some changes occurred in HTML/CSS/JS. |
|
r? @notriddle rustbot has assigned @notriddle. Use |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
The PR title says it sorts unstable items first. This test seems to show the unstable item appearing last. Which is it?
There was a problem hiding this comment.
pr title was a typo, fixed (need to go back and fix the commit description too)
| return a - b; | ||
| } | ||
|
|
||
| // sort unstable items later |
There was a problem hiding this comment.
That confirms that title is wrong. 😉
This comment has been minimized.
This comment has been minimized.
0a9a15a to
22ac5f7
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
22ac5f7 to
dca86a9
Compare
|
@bors r+ |
Rollup of 11 pull requests Successful merges: - #151998 (Set hidden visibility on naked functions in compiler-builtins) - #149460 (rustdoc: sort stable items first) - #152076 (Feed `ErrorGuaranteed` from late lifetime resolution errors through to bound variable resolution) - #152471 (improve associated-type suggestions from bounds) - #152573 (move `escape_symbol_name` to `cg_ssa`) - #152594 (c-variadic: implement `va_arg` for `wasm64`) - #151386 (rustdoc: more js cleanup) - #152567 (nix-dev-shell: fix a typo) - #152568 (Port `#[lang]` and `#[panic_handler]` to the new attribute parsers) - #152575 (layout_of unexpected rigid alias delayed bug) - #152587 (A couple of tiny polonius things)
Rollup merge of #149460 - lolbinarycat:rustdoc-search-sort-stable-first, r=notriddle rustdoc: sort stable items first Finally tackling this again now that the search system refactor is done. The tests and the general approach were taken from the original PR.
Finally tackling this again now that the search system refactor is done. The tests and the general approach were taken from the original PR.