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
- Config option to remove spaces between braces and (a) their contents (b) macro names
- Comment affects whether `return expr` fmts to `return expr;`
- Implement `trailing_semicolon = "Preserve"`
- feat: Return an error when multiple config files are found
- `match_arm_blocks = false` interacts poorly on some lines that are exactly `max_width + 2` long.
- Crash when formatting complex file
- Configure number of lines between module comments and module attributes
- Warn or even fail when both rustfmt.toml and .rustfmt.toml exist
- Strange formatting of `macro_rules!` macro
- Comment before a list element is changed to an end-of-line comment for a different element
- Docs
- Rust not yet supported