-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix auto-hide for implementations and implementors. #85575
Conversation
Some changes occurred in HTML/CSS/JS. |
This comment has been minimized.
This comment has been minimized.
Also, that be nice to have a GUI test to enforce it. I can write it if you want (so then we merge this PR directly and open an issue), as your prefer. |
If you could write the GUI test I'd appreciate it. I haven't yet learned how to make those. I'll need to learn, but I'd also like to get this regression fixed quick-ish. :-) |
This sets their toggles to be closed in the HTML (matching the default setting), and opens them if the setting indicates to do so. This distinguishes between implementations and implementors based on being descendants of certain named elements.
Then please open an issue for it. Once done, you can r=me this PR. ;) |
📌 Commit 5ebbed6 has been approved by |
Rollup of 6 pull requests Successful merges: - rust-lang#84758 (MSVC: Avoid using jmp stubs for dll function imports) - rust-lang#85288 (add an example to explain std::io::Read::read returning 0 in some cases) - rust-lang#85334 (Add doc aliases to `unit`) - rust-lang#85525 (Fix my mailmap entry) - rust-lang#85571 (Remove surplus prepend LinkedList fn) - rust-lang#85575 (Fix auto-hide for implementations and implementors.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Actually, it broke something. I can't wait for #84586 to be finally merged. T_T Sending a fix... |
…s, r=jsha Don't hide inherent implementations by default Fixes a regression introduced in rust-lang#85575. r? `@jsha`
This sets their toggles to be closed in the HTML (matching the default
setting), and opens them if the setting indicates to do so.
This distinguishes between implementations and implementors based on
being descendants of certain named elements.
Demo https://hoffman-andrews.com/rust/fix-toggle-settings/std/io/trait.Read.html#implementors
and https://hoffman-andrews.com/rust/fix-toggle-settings/std/string/struct.String.html#trait-implementations
Fixes #85411
r? @GuillaumeGomez