Skip to content

Bad indentation of if ... else #438

Open
@Chris00

Description

@Chris00

Example:

fn main() {
    let x =
        if 1 == 2 { 1 }
    else { 3};
}

It should be

fn main() {
    let x =
        if 1 == 2 { 1 }
        else { 3};
}

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