Skip to content

Bug: trailing spaces left after formatting #6604

@antonilol

Description

@antonilol

I think not duplicate of #6568 because this keeps the trailing spaces for every style edition, also this is about a doc comment.

Code:

struct Struct {
    /// trailing spaces:               
    field: (),
}

Code remains the same after running cargo fmt, checked with rustfmt directly that on every style edition this behavior is the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions