Closed
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