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 supported22 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- Document how to "leave" formatting as-is
- Group imports by their visibilities
- Single expression match arm blocks on one line
- RustFmt takes entire ram when formatting simple(broken) file
- `wrap_comments` sometimes breaks code blocks in lists
- max_width is not stable/deterministic
- rustfmt thinks it should be able to modify string values
- Properly handle unicode whitespace chars when rewriting missing spans
- panic: `byte index 48 is not a char boundary; it is inside '\u{2029}`
- panic: `Option::unwrap()` on a `None` value
- Docs
- Rust not yet supported