about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-09-09 15:36:38 +0200
committerGitHub <noreply@github.com>2022-09-09 15:36:38 +0200
commit2e258cec0505f58ffc2d1997acb5f4ea2e279500 (patch)
treed05693f2376caa5a9725b030558f246f5edf995a /compiler/rustc_codegen_llvm/src/builder.rs
parentff21ccfba18760659aa81c9b7e347d54a0ba2833 (diff)
parentcbcb74e939527750740b0c715068723f5a6e595c (diff)
downloadrust-2e258cec0505f58ffc2d1997acb5f4ea2e279500.tar.gz
rust-2e258cec0505f58ffc2d1997acb5f4ea2e279500.zip
Rollup merge of #101600 - notriddle:notriddle/li, r=GuillaumeGomez
rustdoc: simplify the codeblock tooltip

**https://github.com/rust-lang/rust/pull/101593 needs merged first**

This PR moves the tooltip into example-wrap, simplifying several overly-complex aspects of how these tooltips work:

* The mousover javascript can be removed, because hovering example-wrap can style the tooltip inside.
* The sibling selecor can be removed, because hovering the tooltip also hovers the wrapper, which can hover the codeblock itself.
* The relative positioning of the `<li>` tag, which was added in https://github.com/rust-lang/rust/commit/e861efd9f9ca45c1048a256812dfe8faffbb1367 to fix the positioning of the code tooltip, can now be removed, because example-wrap itself already has relative positioning.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions