Skip to content

Nested block inside closure has no fixpoint #1524

Closed
@topecongiro

Description

@topecongiro

In 0.8.4,

fn foo() {
    let f = |x| {{x}};
}

will be formatted to

fn foo() {
    let f = |x| {
        x
    };
}

and then

fn foo() {
    let f = |x| x;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPanic, non-idempotency, invalid code, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions