diff options
| author | bors <bors@rust-lang.org> | 2022-09-10 23:13:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-10 23:13:23 +0000 |
| commit | 781ef3e99582fee003264087b0eea106a8c7518f (patch) | |
| tree | 7fd1ca079c6612b149c997a8703871addbd5f7b4 /compiler/rustc_interface/src | |
| parent | 2287107588d92889d282e6cd3c1ca5df34cd34a5 (diff) | |
| parent | 8ba06d4b91b4193a31b9edf7d38bf6f743f1d779 (diff) | |
| download | rust-781ef3e99582fee003264087b0eea106a8c7518f.tar.gz rust-781ef3e99582fee003264087b0eea106a8c7518f.zip | |
Auto merge of #101613 - GuillaumeGomez:codeblock-tooltip, r=notriddle
Simplify codeblock and their associated tooltip It is based on https://github.com/rust-lang/rust/pull/101600 so it needs to wait for this one to be merged first. This PR does two things: * Remove CSS class duplication by setting CSS classes such as `compile_fail` directly on the `div` wrapping both the codeblock and the tooltip. * Simplify DOM: no need to wrap the tooltip into a `<div>`, it can work just as well without it. You can test it [here](https://rustdoc.crud.net/imperio/codeblock-tooltip/std/string/struct.String.html#deref). r? `@notriddle`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
