You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
burtonageo
changed the title
Fields section of union documentation is formatted weirdly
Fields section of union documentation is formatted weirdly in rustdoc
Jul 22, 2017
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 resolvesrust-lang#43404 and its perfidious
malignancy.
…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.
When looking at the generated documentation for a union (e.g. https://docs.rs/MacTypes-sys/2.0.2/MacTypes_sys/union.NumVersionVariant.html), each field in the 'Fields' section is laid out on the same line:
It would be nicer if they were laid out vertically as they are in structs (e.g. https://docs.rs/MacTypes-sys/2.0.2/MacTypes_sys/struct.FixedRect.html)
The text was updated successfully, but these errors were encountered: