rustfmt v0.99.6 Release Notes
Release Date: 2018-10-18 // over 5 years ago-
โ Added
- Add
enum_discrim_align_threshold
option to vertically align enum discriminants cc22869 - โ Add
println!
-like heuristic to thefail
attribute #3067 - ๐ Handle itemized items inside comments #3083
- Add
format_doc_comments
configuration option to control the formatting of code snippets inside comments #3089
๐ Changed
- ๐ Makes brace behavior consistent with empty bodies for traits and impls 2727d41
- Consider a multi-lined array as a block-like expression #3969
- ๐ Improve formatting of strings #3073
- Get rid of extra commas in Visual struct literal formatting #3077
- Update rustc-ap-rustc_target to 274.0.0, rustc-ap-syntax to 274.0.0, and rustc-ap-syntax_pos to 274.0.0
- Format macro calls with item-like arguments #3080
- Avoid control flow expressions conditions to go multi line ef59b34
- Simplify multi-lining binop expressions #3101
๐ Fixed
- ๐ Do not format a code block in documentation if it is annotated with ignore or text 2bcc3a9
- ๐ Fix inconsistent overflow behavior in Visual style #3078
- ๐ Fix corner cases of the string formatting implementation #3083
- Do not add parens around lifetimes 0ac68c9
- ๐ Catch parser panic in format_snippet 8c4e92a
- Add