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 non-idempotent indentation of consecutive block comments
- rustfmt does not format panic! macro under a specific circumstance
- Rewriting `r#try!` at root of chain generates bad code
- reserved width for unsafe in match arm pattern
- fix: prevent ICE on lifetime-only macro arguments
- Don't duplicate separators when there is a comment before and after a list separator
- Chains of functions with a comment on the last function do not format
- Fix struct `comment_width` off-by-one error
- `#[rustfmt::skip]` attribute skips extra lines
- --file-lines can trip up trailing whitespace validity check
- Docs
- Rust not yet supported