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
- Extra whitespace inserted between literal and line comment.
- rustfmt shifts macro body 4 indent levels to the right for no reason
- Rustfmt is … confused 😳 by `//` comment after `pub` and before `trait`
- `rustfmt` leaves an extra space after `self` in function signature
- 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`
- Docs
- Rust not yet supported