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
- `struct_field_align_threshold = 30` doesn't apply when using `use_field_init_shorthand = true`
- Redirecting output with --check to pager causes compiler panic on early exit
- Implement concurrent formatting
- Fix generic default type assignment panic
- Fix match enum OR comment indentation
- Count chars when creating SourceAnnotation
- [BUG] panicked at SourceAnnotation range `(91, 92)` is bigger than source length `69`
- `struct_field_align_threshold` doesn't apply when using `..Default::default()`
- does not finish when trying to format a program with a ridiculous number of nested `match`
- Add `nfc_normalize_idents` flag
- Docs
- Rust not yet supported