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
- Keep array types on same line as prefix for statics
- `rustfmt::skip` sometimes ignored when using `error_on_line_overflow` and `error_on_unformatted`
- `cargo fmt` failure on Windows, too many command line args
- Discussion: enable Clippy lints in rustfmt source tree and CI
- [Issue #6631] fix normalize comments eats single line comments in code blocks
- Format `match` exprs even when or-patterns have comments
- fix: trim trailing whitespace from lhs when rhs wraps to new line
- Respect file-lines range per predicate in where clauses
- Prevent duplicating comments and tokens when rewriting trait headers
- Fix supertrait wrapping when within max_width
- Docs
- Rust not yet supported