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
- Invalid code when formatting `matches!()` expressions with leading pipe also for the first alternative
- rustfmt eats comment after `->` in return type
- Fix `brace_style="PreferSameLine"` with `trailing_comma="Vertical"` results
- rustfmt breaks macros involving $
- Format markdown files and rust code blocks in markdown files
- Doc comments on `use` declarations are limited to 5 characters less than `max_width`
- Converting multiline comments to single line breaks leading asterisks.
- Comment after let exceeds max width
- Sort items in a file to make it readable top to bottom
- rustfmt doesn't format proptest! blocks
- Docs
- Rust not yet supported