Auto merge of #43436 - zackmdavis:union_doc_fields_section_layout, r=GuillaumeGomez

rustdoc: fix layout of Fields section in documentation for unions

Previously, the union fields would all render on the same line with
hideous spacing; comparison to the analogous section for structs makes
it undoubtable that `display: block` is the true intent.

Concisely and definitively resolves #43404 and its perfidious
malignancy.
This commit is contained in:
bors 2017-07-24 11:44:11 +00:00
commit 5669c9988f

View File

@ -691,7 +691,7 @@ span.since {
margin-bottom: 25px;
}
.enum .variant, .struct .structfield {
.enum .variant, .struct .structfield, .union .structfield {
display: block;
}