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
- gives up on a `box` pattern
- Extraneous newlines around `macro_rules!` rules not removed if body can not be formatted
- "error[internal]: left behind trailing whitespace" with long macro inside closure
- Spaces arround equal signs are not added consitently
- formatting trait bounds
- Match with vector index inside a map results in compiler error
- `imports_granularity` is not respected for `#[cfg]`'d items
- Block comment removed from function signature when using unit
- rustfmt removes comments from visibility annotation
- Configuration for trailing commas does not affect macros defined with lists
- Docs
- Rust not yet supported