prettyplease

A minimal `syn` syntax tree pretty-printer

APACHE-2.0 License

Downloads
79.3M
Stars
588
Committers
2
prettyplease -

Published by dtolnay over 2 years ago

  • Tweak spacing around equal-sign inside attributes
  • Render empty verbatim item as a blank line
prettyplease -

Published by dtolnay over 2 years ago

  • Improve spacing of UseTree::Group involving empty groups
prettyplease -

Published by dtolnay over 2 years ago

  • Automatically insert in token into VisRestricted when required (#7)
prettyplease -

Published by dtolnay over 2 years ago

  • Improve formatting of or-patterns
  • Fix paren patterns gaining an incorrect comma
prettyplease -

Published by dtolnay over 2 years ago

  • Improve formatting of method chains in statement position and inside of macro calls
  • Omit trailing comma inside attribute lists that fit on one line
  • Improve formatting of associated type definitions in an impl block
prettyplease -

Published by dtolnay over 2 years ago

  • Improve formatting of Expr::Struct expressions in which the struct's path has generic parameters broken across lines
  • Improve formatting of function call expressions containing a single Block argument
  • Improve formatting of outer attributes on arguments of a function call
  • Improve formatting of expressions containing empty blocks
prettyplease -

Published by dtolnay over 2 years ago

  • Fix missing inner attributes inside of a Pat::Tuple expression
  • Fix trailing comma inside of a tuple of size 1
  • Improve formatting of the rhs of a type alias
prettyplease -

Published by dtolnay almost 3 years ago