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
- Poor formatting with combination of arithmetic and dot
- Empty line after comment is removed
- Only put spaces around ranges when start and end is specified
- Operator precedence
- rustfmt removes newlines in comments between chain calls
- No trailing comma changes in debug_assert calls
- Create FAQ-like documentation
- Feature request: option for loop label on its own line
- Newlines before comments that describe function arguments get removed
- Request: "Compressed" layout for array literals.
- Docs
- Rust not yet supported