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
- Fix formatting of commented-out empty generic bounds
- [Feature Request]: Derive entry per crate
- Prevent duplicating comments and tokens when rewriting trait headers
- Trailing space on doc comment
- Keep `use`d items on individual lines when requested
- Struct patterns containing `..` are sometimes formatted neither vertically nor on a single line
- Option to remove spaces between braces in struct and blocks
- Newlines are (inconsistently) removed around lines with only semicolons
- Fix supertrait wrapping when within max_width
- Supertraits are wrapped at less than `max_width` (sometimes 20+ chars less)
- Docs
- Rust not yet supported