Skip to content

Commit

Permalink
Auto merge of #43436 - zackmdavis:union_doc_fields_section_layout, r=…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
bors committed Jul 24, 2017
2 parents 513906c + 0fdb502 commit 5669c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ span.since {
margin-bottom: 25px;
}

.enum .variant, .struct .structfield {
.enum .variant, .struct .structfield, .union .structfield {
display: block;
}

Expand Down

0 comments on commit 5669c99

Please sign in to comment.