rustdoc: add missing margin to no-docblock trait items

Fixes another regression caused by 8846c0853d,
this time fixing the appearance of methods that have no docblock (we didn't
notice this one because libstd docs *always* have docblocks).

See how it looks at https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/clean/types/trait.AttributesExt.html
This commit is contained in:
Michael Howell 2022-09-30 10:15:59 -07:00
parent 8728e17855
commit f145f283f7
2 changed files with 4 additions and 3 deletions

View file

@ -2010,7 +2010,8 @@ in storage.js plus the media query with (min-width: 701px)
.impl,
#implementors-list > .docblock,
.impl-items > section,
{
.methods > section
{
margin-bottom: 0.75em;
}