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 supported4 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- In workspaces, `cargo fmt` only works in the top-level directory #8724
- Suboptimal formatting of `let`-bound chains of `||` with `==` inside them.
- Nested `macro_rules` utilising inner metavariable are infinitely indented with repeated formatting
- Exclude block-style comments in wrap_str/filter_normal_code check
- Empty lines wrongly removed
- Stabilise `--skip-children`
- Line indented again each time rustfmt is run until it's 100 columns wide
- Remove extra whitespace after match arrow
- alphabetical order for type in trait definition also
- enable filtered test file execution
- Docs
- Rust not yet supported