Skip to content

Should |ed match arms be indented? #115

Closed
@nrc

Description

@nrc

For consistency with other binops?

E.g.,

Foo
    | Bar
    | Baz

rather than

Foo
| Bar
| Baz

I don't recall discussing this, but maybe we did.

I think we'd just have to always use { in the match arm and put it on a newline to make things stand out.

From rust-lang/rustfmt#2333 (comment)

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