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
- Ignoring empty statements in closures.
- Multi-line Fn supertraits are indented improperly
- Fixing the potential deletion of comments
- Add formatting for int literal suffixes
- `use_try_shorthand = true` disallows formatting on chains with comments
- Leave wrapped struct/function as is even not touch the max_width
- Preserve blank line between match inner attrs and first arm
- Alternative option for `match_arm_leading_pipes`?
- Fix failure with line comment following `..` in a struct pattern
- Spurious semicolon inside closure is not idempotent
- Docs
- Rust not yet supported