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
- 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
- Filter out block comment in filter_normal_code if configured to use rustfmt 2 (#4668)
- panic in annotated_snippet dep
- Docs
- Rust not yet supported