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
- fix: trim trailing whitespace from lhs when rhs wraps to new line
- Fix hybrid formatting of struct patterns containing `..`
- Respect file-lines range per predicate in where clauses
- Fixed ICE when formatting files outside of toml dir
- Fix formatting of commented-out empty generic bounds
- Prevent duplicating comments and tokens when rewriting trait headers
- Keep `use`d items on individual lines when requested
- Fix supertrait wrapping when within max_width
- [`import_granularity`] Allow formatting of `use` behind `#[cfg*]`
- Fix misidentification of indented comments
- Docs
- Rust not yet supported