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:
commit
5669c9988f
@ -691,7 +691,7 @@ span.since {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.enum .variant, .struct .structfield {
|
||||
.enum .variant, .struct .structfield, .union .structfield {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user