rustfmt v0.4.2 Release Notes

Release Date: 2018-04-12 // about 6 years ago
  • โž• Added

    • ๐Ÿ– Handle binary operators and lifetimes 0fd174d
    • Add reorder_impl_items config option 94f5a05
    • โž• Add --unstable-features CLI option to list unstable options from the --help output 8208f8a
    • โž• Add merge_imports config option 5dd203e

    ๐Ÿ”„ Changed

    • Format macro arguments with vertical layout ec71459
    • 0๏ธโƒฃ Reorder imports by default 164cf7d
    • Do not collapse block around expr with condition on match arm 5b9b7d5
    • ๐Ÿ‘‰ Use vertical layout for complex attributes c77708f
    • Format array using heuristics for function calls 98c6f7b
    • Implement stable ordering for impl items with the the following item priority: type, const, macro, then method fa80ddf
    • 0๏ธโƒฃ Reorder imports by default 164cf7d
    • 0๏ธโƒฃ Group extern crate by default 3a138a2
    • Make error_on_line_overflow false by default f146711
    • ๐Ÿ”€ Merge imports with the same prefix into a single nested import 1954513
    • Squash the various 'reorder imports' option into one 911395a

    ๐Ÿ›  Fixed

    • ๐Ÿ–จ Print version is missing the channel ca6fc67
    • Do not add the beginning vert to the match arm 1e1d9d4
    • ๐Ÿ’… Follow indent style config when formatting attributes efd295a
    • Do not insert newline when item is empty a8022f3
    • Do not indent or unindent inside string literal ec1907b