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 changes meaning of closure, also not idempotent
- `cargo fmt` does not do anything in tokio repo
- rustfmt removes empty newlines between blocks of module-level attributes
- Compressed chains/fn calls
- "if expression" in implicit return position (?) considered a statement
- Add JSON output for errors
- Add special case handling for matches! to format args as patterns
- Fixed first comment and last comment not reordering issue
- Fixed trailing comment being moved when comma is inserted
- Imports are not formatted when long import lines are present
- Docs
- Rust not yet supported