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
- fix #6164: Reduce format failure for non default `imports_granularity`
- `imports_granularity = "Module"` doesn't work if module path is too long
- fix: remove multiple trailing lines in comments
- perpetually increasing indentation
- Comment in trait visibility position causes token duplication
- version Two no longer able to format code
- 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
- Docs
- Rust not yet supported