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
- rustfmt erroneously removes brackets around statement arg in macro
- Trailing whitespace followed by long unbreakable line causes error[internal]: left behind trailing whitespace
- Rustfmt loses comments in variants between the name and the discriminant
- [Feature Request] Add mechanism to skip formatting specific comments
- panic: `Option::unwrap()` on a `None` value
- Formatting match arm with a comment between the expression and the comma causes invalid code
- Can't have single line let-else and control braces on next line
- Enhance diff_check with more unicode et al
- wrap_comments wraps too early
- Odd formatting of type def with many generics
- Docs
- Rust not yet supported