about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-08 17:46:57 -0700
committerMichael Howell <michael@notriddle.com>2022-09-09 05:56:14 -0700
commitcbcb74e939527750740b0c715068723f5a6e595c (patch)
treedee07c1c7a9f44362e25f714a0d0839215fe0bcc /compiler/rustc_codegen_llvm/src/builder.rs
parentf9da510cff278acabdfbf3b6fa1190558938d977 (diff)
downloadrust-cbcb74e939527750740b0c715068723f5a6e595c.tar.gz
rust-cbcb74e939527750740b0c715068723f5a6e595c.zip
rustdoc: simplify the codeblock tooltip
This commit moves the tooltip into example-wrap, simplifying allowing several
overly-complex things to be fixed:

* 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
  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