-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort "implementations on foreign types" section in the sidebar #71945
Sort "implementations on foreign types" section in the sidebar #71945
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to do as intended. Is there a need to add a test to ensure things remain sorted? is there anything else whose sort ordering needs tweaking? If the answer to those two points is "no" then I'm okay for this to be merged r=kinnison
caed5e2
to
27f7297
Compare
Updated! |
27f7297
to
b865db0
Compare
Updated! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming green CI, I'm r+ on this @ollie27 ?
@bors r=kinnison,ollie27 |
📌 Commit b865db0 has been approved by |
…-types-section, r=kinnison,ollie27 Sort "implementations on foreign types" section in the sidebar Fixes rust-lang#71926. We were sorting by the ID instead of sorting by the name. They're not in the same order as the implementations but I think it makes more sense this way considering this is what we do for the methods as well. r? @kinnison cc @rust-lang/rustdoc
Rollup of 4 pull requests Successful merges: - rust-lang#71840 (Rework MIR drop tree lowering) - rust-lang#71882 (Update the `cc` crate) - rust-lang#71945 (Sort "implementations on foreign types" section in the sidebar) - rust-lang#72043 (Add missing backtick in E0569 explanation) Failed merges: r? @ghost
Fixes #71926.
We were sorting by the ID instead of sorting by the name. They're not in the same order as the implementations but I think it makes more sense this way considering this is what we do for the methods as well.
r? @kinnison
cc @rust-lang/rustdoc