-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Sidebar trait items order #83051
Sidebar trait items order #83051
Conversation
r? @CraftSpider |
Ah right, they're not a reviewer. Well, in any case. :) |
Now that I am a reviewer, I'll try to get to this tonight :P |
Why would that make it invalid? Don't Symbols sort the same as strings? |
|
Well, I guess the current situation answers your question. :)
|
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.
Looking good to me
@bors r+ |
📌 Commit 15eec7c4cfb00177abad7fb72be338ef04bf1a6f has been approved by |
⌛ Testing commit 15eec7c4cfb00177abad7fb72be338ef04bf1a6f with merge 85326968a127eedd34350a4c6f2995c7e48be390... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
@bors retry |
⌛ Testing commit 15eec7c4cfb00177abad7fb72be338ef04bf1a6f with merge b3397622acc8221770400ce3759957120ee67b82... |
I wonder if it makes sense to change Symbols to sort by the string instead of by the index. |
I'm not sure about that... That would perform some "hidden" operations that you might not want. |
@Mark-Simulacrum asked me to retry this PR so that a higher priority stable PR preempts it. Here we go. |
@bors retry |
(and I guess this also buys @GuillaumeGomez some time to implement the changes suggested above! 😄 ) |
This comment has been minimized.
This comment has been minimized.
15eec7c
to
801ee83
Compare
And updated! Let's go again/ @bors: r=CraftSpider,jyn514 |
📌 Commit 801ee83 has been approved by |
…order, r=CraftSpider,jyn514 Sidebar trait items order We were actually sorting `Symbol` and not `String`, creating a completely invalid sort result. I added a test to prevent regressions. r? `@jyn514`
Rollup of 9 pull requests Successful merges: - rust-lang#83051 (Sidebar trait items order) - rust-lang#83313 (Only enable assert_dep_graph when query-dep-graph is enabled.) - rust-lang#83353 (Add internal io::Error::new_const to avoid allocations.) - rust-lang#83391 (Allow not emitting `uwtable` on Android) - rust-lang#83392 (Change `-W help` to display edition level.) - rust-lang#83393 (Codeblock tooltip position) - rust-lang#83399 (rustdoc: Record crate name instead of using `None`) - rust-lang#83405 (Slight visual improvements to warning boxes in the docs) - rust-lang#83415 (Remove unnecessary `Option` wrapping around `Crate.module`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
We were actually sorting
Symbol
and notString
, creating a completely invalid sort result. I added a test to prevent regressions.r? @jyn514