Skip to content

Handle empty struct defs properly #919

Closed
@nrc

Description

@nrc

We either don't reformat (struct structs) or lose comments (tuple structs). We should do neither.

e.g.,

struct Foo( /* a comment */ );
struct Foo();
struct Foo{ /* a comment */ }
struct Foo{}

should be idempotent

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPanic, non-idempotency, invalid code, etc.poor-formatting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions