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
- Don't remove inner attributes from `loop`, `for` and `while` expressions
- rustfmt deletes a comment
- Preserve blank line between `match` inner attrs and first arm
- Don't remove const generic when using `#[feature(generic_const_items)]`
- Double Space between `pub` and type in newtype when an attribute is followed by a comment
- Single-line `where` clauses may be 1 character too long
- `format_macro_matchers` unusual behavior with commas
- Add `let_chain_style` configuration option
- Struct field patterns with `cfg`s are formatted unlike anything else
- rust fmt failing if Cargo.toml dependency pointing to a local folder
- Docs
- Rust not yet supported