Skip to content

Rustdoc crams struct fields into same line #34235

Closed
@est31

Description

@est31

If you look at the rustdoc generated page for structs with public fields, there is a Field section which lists all the fields.

There is no newline separation between the fields. They look crammed up, and reading them is very unergonomic.

See this example: https://doc.rust-lang.org/libc/x86_64-unknown-linux-gnu/libc/struct.Dl_info.html

Note: I don't mean the first section which looks like rust code, but I mean the section below which essentially repeats the fields.

Confirmed to exist at least with Firefox 47.0 and rustdoc 1.11.0-nightly (915b003e3 2016-06-02), as well as whatever rustdoc has been used to generate above doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions