about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-04-28 13:10:25 -0700
committerMichael Howell <michael@notriddle.com>2023-04-28 13:16:10 -0700
commit2299ba1ca2afdf56000017c70572ed181e174c37 (patch)
tree230592b11ab5be37a95f8723cafd1fc884266a11 /compiler/rustc_codegen_llvm/src/errors.rs
parent10c77b1cd0027926a966620c988a3af8643314f2 (diff)
downloadrust-2299ba1ca2afdf56000017c70572ed181e174c37.tar.gz
rust-2299ba1ca2afdf56000017c70572ed181e174c37.zip
rustdoc: fix weird margins between Deref impl items
In the old setup, if the dereffed-to item has multiple impl blocks,
each one gets its own `div.impl-items` in the section, but there
are no headers separating them. Since the last method in a
`div.impl-items` has no bottom margin, and there are no margins
between these divs, there is no margin between the last method
of one impl and the first method of the following impl.

This patch fixes it by simplifying the HTML. Each Deref block gets
exactly one `div.impl-items`, no matter how many impl blocks it
actually has.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions