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