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
- Add single line if block support for single expression
- rustfmt removes comment between `impl` keyword and type name in impl block
- Code in block doc comments are not formatted
- Single-line imports are unnecessarily wrapped
- ICE formatting macro
- Rename `IntoOverflowableItem` to satisfy clippy
- Comments removed/eaten after generic trait header before body
- Funny indentation when destructuring a struct with cfg toggled fields
- Strange formatting of complex generics and `impl` types
- Version two + hard_tabs adds indent on long generic types
- Docs
- Rust not yet supported