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:
parent
6270257f4e
commit
0fdb502710
@ -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