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 supported5 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- [`import_granularity`] Allow formatting of `use` behind `#[cfg*]`
- `imports_granularity=Item` incorrectly removes a `#[cfg]`'d item with same target as another `#[cfg]`'d item
- Cargo fails to format a line comment followed by a block comment
- Comments in match partially aligned when using `hard_tabs`
- Fix misidentification of indented comments
- `imports_granularity` is not respected for `#[cfg]`'d items
- if-else inside match arm always wraps
- Comma gets duplicated when obstructed by inline comments
- Non-idempotency issue for block doc comments
- fix: `impl Trait` inside macro parsed incorrectly
- Docs
- Rust not yet supported