2299ba1ca2
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. |
||
---|---|---|
.. | ||
deref-const-fn.rs | ||
deref-multiple-impl-blocks.rs | ||
deref-mut-methods.rs | ||
deref-recursive-pathbuf.rs | ||
deref-recursive.rs | ||
deref-slice-core.rs | ||
deref-to-primitive.rs | ||
deref-typedef.rs | ||
escape-deref-methods.rs | ||
issue-100679-sidebar-links-deref.rs | ||
recursive-deref-sidebar.rs | ||
recursive-deref.rs |