about summary refs log tree commit diff
path: root/compiler/rustc_llvm/src/lib.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-05-23 03:23:47 +0200
committerGitHub <noreply@github.com>2021-05-23 03:23:47 +0200
commit85b45b5163ce8c953a4d4857bf3b91748aa63635 (patch)
tree78b04e67a165bfb802b9576f9eb15d8846022777 /compiler/rustc_llvm/src/lib.rs
parent75edb7693769d96c9fc76ff61ea9882f81d2b7e7 (diff)
parent5ebbed6cb02fb4d0272a0b86c500d8f668de321d (diff)
downloadrust-85b45b5163ce8c953a4d4857bf3b91748aa63635.tar.gz
rust-85b45b5163ce8c953a4d4857bf3b91748aa63635.zip
Rollup merge of #85575 - jsha:fix-toggle-settings, r=GuillaumeGomez
Fix auto-hide for implementations and implementors.

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`
Diffstat (limited to 'compiler/rustc_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions