about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-10-30 19:31:37 -0700
committerGitHub <noreply@github.com>2022-10-30 19:31:37 -0700
commit8d6ed3edec11dab0c0f71cb528dda54510cddf2e (patch)
tree774d4060001ef55a8377dbfc9b73e4ef5c817c0d /compiler/rustc_codegen_llvm/src
parent7e62406e013ddc363b15707d5434d5e45f1163a5 (diff)
parentbdbc9772c61cc2941caafe97139203b5821f38e2 (diff)
downloadrust-8d6ed3edec11dab0c0f71cb528dda54510cddf2e.tar.gz
rust-8d6ed3edec11dab0c0f71cb528dda54510cddf2e.zip
Rollup merge of #101944 - notriddle:notriddle/toggle-all-docs, r=jsha,GuillaumeGomez
rustdoc: clean up `#toggle-all-docs`

This change converts the element from an `<a>` link to a button. It's pretty much directly trading slightly more CSS for slightly less HTML, and it's also semantically correct (so you don't get a broken "bookmark" option when you right click on it).

While doing this, I also got rid of the unnecessary `class="inner"` attribute on the inner span. There was a style targeting `.collapse-toggle > .inner`, but no CSS ever targeted the `#toggle-all-docs > .inner`.

Preview: https://notriddle.com/notriddle-rustdoc-test/button-toggle-all-docs/index.html
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions