Skip to content

Feature Request: minimum blank lines between fields with comments #4435

Open
@WaffleLapkin

Description

@WaffleLapkin

This can make structures with big field documentation more readable.

e.g.:
0:

struct Tets {
    /// Doc
    a: i32,
    // Comment
    b: i32,
    c: i32,
    /// Doc2
    d: i32,
}

1:

struct Tets {
    /// Doc
    a: i32,

    // Comment
    b: i32,
    c: i32,

    /// Doc2
    d: i32,
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions