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
- Multi-line struct field values should begin on the same line
- Semicolon should be removed after `match`, `if` etc. where nothing happens with the return value
- Request: "Compressed"
- `wrap_comments` can break up code snippets
- Rustfmt incorrectly adds whitespace inside multiline string literals within macro calls that have curly braces
- Backport 3867
- Deleted comments in type aliases
- Use the same shape to rewrite import when reordering them or not
- Adjust rhs shape width to account for next line indentation
- control_brace_style="AlwaysSameLine" is not respected when "if" and "if let" line length is near max_width
- Docs
- Rust not yet supported