rustfmt
https://github.com/rust-lang-nursery/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 supported21 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- presence of lint attributes changes const block formatting
- Whitespaces in path to macro inside derive block
- rustfmt breaks a `/* ... */` comment into `/* ... //`, with no terminating `*/`
- Replace `Config` field 5-tuple with a struct
- max_width makes short lines longer
- Add config and attribute to set the number of array values per line
- Format issue on supertrait with bounds on associated types.
- First and second operand in series of binops should not be on one line if first operand 4 characters and binop requires surrounding spaces
- Draft: Add #[rustfmt::sort] and implement for enum variants and struct structs
- rust-lang/style-team#189: rhs-should-use-indent-of-last-line-of-lhs
- Docs
- Rust not yet supported