rustfmt v0.99.5 Release Notes
Release Date: 2018-09-25 // over 5 years ago-
โ Added
- ๐ Handle leading module separator for 2018 Edition #2952
- Add configuration option
normalize_doc_attributes
: convert doc attributes to comments #3002
๐ Changed
- Accept 2015 and 2018 instead of Edition2015 and Edition2018 for edition option eec7436
- ๐ Support platforms without a timer 46e2a2e
- Update rustc-ap-rustc_target to 263.0.0, rustc-ap-syntax to 263.0.0, and rustc-ap-syntax_pos to 263.0.0
๐ Fixed
- Format of attributes with commas #2971
- ๐ Fix optional arg condensing #2972
- ๐ Improve formatting of long function parameters #2981
- ๐ Fix formatting of raw string literals #2983
- ๐ Handle chain with try operators with spaces #2986
- ๐ Use correct shape in Visual tuple rewriting #2987
- ๐ Improve formatting of arguments with
visual_style = "Visual"
option #2988 - ๐ Change
print_diff
to output the correct line number 992b179 - Propagate errors about failing to rewrite a macro 6f318e3
- ๐ Handle formatting of long function signature #3010
- ๐ Fix indent computation of a macro with braces c3edf6d
- Format generics on associated types #3035
- Incorrect indentation of multiline block match expression #3042
- ๐ Fix bug in import where two consecutive module separators were possible 98a0ef2
- Prevent right-shifting of block comments with bare lines 5fdb6db