rustfmt
https://github.com/rust-lang/rustfmt
Rust
Format Rust code
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported5 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- Feature request: flag to print all input files
- Regression in 1.94.0 beta: Rustfmt produces broken code for const blocks in array lengths
- New configuration option: indent_blank_lines
- Commented out `macro_rules` arm gets moved after previous arm
- Sort the first group in StdExternalCrate import grouping by their subset relation
- Semicolon after a return statement breaks code with try blocks and never type
- Format an empty file with 0 lines instead of 1 line
- fix: #6520, move comment above line if it would cross out the type in…
- PreferSameLine brace_style with where_single_line = true causes inconsistent braces for function declarations
- [bug] wrap_comments
- Docs
- Rust not yet supported