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