Skip to content
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

Merged

Conversation

GuillaumeGomez
Copy link
Member

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

Copy link
Contributor

@kinnison kinnison left a 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

@GuillaumeGomez
Copy link
Member Author

@kinnison For the tests, it's in progress but in another PR (and it might take a while...).

@GuillaumeGomez GuillaumeGomez force-pushed the sort-impl-on-foreign-types-section branch from caed5e2 to 27f7297 Compare May 9, 2020 10:51
@GuillaumeGomez
Copy link
Member Author

Updated!

@GuillaumeGomez GuillaumeGomez force-pushed the sort-impl-on-foreign-types-section branch from 27f7297 to b865db0 Compare May 9, 2020 11:50
@GuillaumeGomez
Copy link
Member Author

Updated!

Copy link
Contributor

@kinnison kinnison left a 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 ?

@ollie27
Copy link
Member

ollie27 commented May 9, 2020

@bors r=kinnison,ollie27

@bors
Copy link
Contributor

bors commented May 9, 2020

📌 Commit b865db0 has been approved by kinnison,ollie27

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 9, 2020
RalfJung added a commit to RalfJung/rust that referenced this pull request May 10, 2020
…-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
This was referenced May 10, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request May 10, 2020
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
@bors bors merged commit d22c18b into rust-lang:master May 10, 2020
@GuillaumeGomez GuillaumeGomez deleted the sort-impl-on-foreign-types-section branch May 11, 2020 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The list of impl on the left of rust docs are in the wrong order
4 participants