e41329ce87
Fixes 5273 Previously, rustfmt searched for the start of a struct body after the opening `{`. In most cases this works just fine, but const values can also be defined between `{ }`, which lead to issues when rewriting the struct body. Now, rustfmt will search for the `{` after the generic argument list to guarantee that the `{` it finds is the start of the struct body. |
||
---|---|---|
.. | ||
cargo-fmt | ||
config | ||
coverage | ||
license-template | ||
mod-resolver | ||
parser | ||
rustfmt | ||
source | ||
target | ||
writemode |