-
Notifications
You must be signed in to change notification settings - Fork 963
Closed
Labels
C-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-ICE
Milestone
Description
I'm not sure whether this is expected behaviour or not, but the following code:
fn main() {
for _ in 0..1 {
;
}
}Is first reformatted as
fn main() {
for _ in 0..1 {
}
}And only then as
fn main() {
for _ in 0..1 {}
}If I need to run rustfmt twice in this case, how am I sure that I have run it enough times in other cases? Do I need to repeat every rustfmt until the file is stable?
Metadata
Metadata
Assignees
Labels
C-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-ICE