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
- 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
- `rustfmt` inconsistently formats blank lines in the beginning of blocks
- Feature request: Add semicolon after assignment if it is at the end of a block
- Docs
- Rust not yet supported