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 supported4 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- [unstable option] force_multiline_blocks
- Change rewrite return type from Option to Return
- Long casts get's moved to a new line
- Poor formatting of multiplication/division of parenthesized expression containing +/-
- Unable to format include! files
- Comment single-line to multi-line formatting is botched
- allow spaces before/after braces for imports
- Add an option to not automatically pad const-generics braces with spaces
- Alternative approach for constructing the AST and mod/file mapping
- Rewriting single-line comments to multi-line results to unaligned offset when using hard_tabs
- Docs
- Rust not yet supported