rustfmt v1.4.6 Release Notes

Release Date: 2019-08-28 // over 4 years ago
  • ➕ Added

    • ➕ Add --message-format command line option to cargo-fmt.
    • ➕ Add -l,--files-with-diff command line option to rustfmt.
    • ➕ 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 with reorder_imports.
    • 🛠 Fix calculation of line numbers in checkstyle output.
    • 🛠 Fix poor formatting of complex fn type.