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
- Comments placed in-between a field and type in a struct get deleted after formatting
- wrap_comments=true can add a space to already properly formatted comments
- Add documtation for the rustfmt::skip attribute
- Leading whitespace in a file isn't removed after formatting if code is indented even 1 character
- fix: don’t format mixed macro args (items + non-items) (#6629)
- Deduplication of module/enum self on imports
- fix: `impl Trait` inside macro parsed incorrectly
- Error formatting with block comment after match scrutinee
- the inability to comment every non-obnoxious token without leftover whitespace before or after
- Fix idempotency issue with raw strings
- Docs
- Rust not yet supported