rustfmt v1.4.6 Release Notes
Release Date: 2019-08-28 // over 4 years ago-
➕ Added
- ➕ Add
--message-format
command line option tocargo-fmt
. - ➕ Add
-l,--files-with-diff
command line option torustfmt
. - ➕ Add
json
emit mode.
🛠 Fixed
- 🛠 Fix removing attributes on struct pattern's fields.
- 🛠 Fix non-idempotent formatting of match arm.
- 🛠 Fix
merge_imports
generating invalid code. - 👉 Fix imports with
#![macro_use]
getting reordered withreorder_imports
. - 🛠 Fix calculation of line numbers in checkstyle output.
- 🛠 Fix poor formatting of complex fn type.
- ➕ Add