-
Notifications
You must be signed in to change notification settings - Fork 961
Closed
Labels
1x-backport:completedC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICES-duplicateStatus: duplicate of another issue or PRStatus: duplicate of another issue or PR
Milestone
Description
loop {
;
}
gets formatted to
loop {
}
which then gets formatted to
loop {}
Thus requiring two calls to rustfmt to achieve a stable state.
Expected behavior
loop {
;
}
should format in one step to
loop {}
Meta
- rustfmt version:
rustfmt 1.4.29-nightly (70ce1825 2020-12-04) - From where did you install rustfmt?: cargo
- How do you run rustfmt:
cargo fmt
Metadata
Metadata
Assignees
Labels
1x-backport:completedC-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICES-duplicateStatus: duplicate of another issue or PRStatus: duplicate of another issue or PR