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
- Skip ignored files in check_diff
- Produces invalid code for struct-literal like statement in macro
- Non-idempotent formatting for empty statment.
- 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
- Docs
- Rust not yet supported