diff options
| author | bors <bors@rust-lang.org> | 2017-07-24 11:44:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-07-24 11:44:11 +0000 |
| commit | 5669c9988f50788b5ab5dee2d4538519d4e5663d (patch) | |
| tree | 030a3a4417d7861808b7765cfd619bcb5051143e /src | |
| parent | 513906c43dba6220d5418772cdfc4522b462c142 (diff) | |
| parent | 0fdb502710a059aa10c1f7de6d18c17d70f980e3 (diff) | |
| download | rust-5669c9988f50788b5ab5dee2d4538519d4e5663d.tar.gz rust-5669c9988f50788b5ab5dee2d4538519d4e5663d.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 567c8fb9718..9314f57359a 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -691,7 +691,7 @@ span.since { margin-bottom: 25px; } -.enum .variant, .struct .structfield { +.enum .variant, .struct .structfield, .union .structfield { display: block; } |
