summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-04-29 15:51:17 +0200
committerGitHub <noreply@github.com>2023-04-29 15:51:17 +0200
commit39ed894926c4e1bc40667e54175d405ad8c4e41c (patch)
tree9b8aed083f6a30f8596d3e50144c1365c30724e0 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentcdcec39be6ceaf1e196ca1d6e7033744832b4f75 (diff)
parent2299ba1ca2afdf56000017c70572ed181e174c37 (diff)
downloadrust-39ed894926c4e1bc40667e54175d405ad8c4e41c.tar.gz
Rollup merge of #110964 - notriddle:notriddle/deref-impl, r=GuillaumeGomez
rustdoc: fix weird margins between Deref impl items ## Before ![image](https://user-images.githubusercontent.com/1593513/235245977-90770591-22c1-4a27-9464-248a3729a2b7.png) ## After ![image](https://user-images.githubusercontent.com/1593513/235246009-0e83113e-42b7-4e29-981d-969f9d20af01.png) ## Description 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 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions