Skip to content

When there are multiple extraneous semicolons, only one is deleted at a time #2791

Closed
@ExpHP

Description

@ExpHP

This is an example of non-idempotent formatting:

fn main() {
    let x = 2;;;;
}

is formatted to

fn main() {
    let x = 2;;;
}

which is formatted to

fn main() {
    let x = 2;;
}

etc.

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