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
- removes comment after import
- comma is removed from `#[cfg_attr(` which causes syntax error
- rustfmt losing comments, weird-exprs edition
- rustfmt breaks code with macro + raw identifier
- [ICE]: `bad span: `for await`:` with extra space in between
- Fix ICE on `for await` loops with separated keyword tokens
- `cfg_select!` in expr position broken after formatting
- `style-edition` cmdline flag is listed twice in --help
- Long string nested inside closure doesn't get formatted
- Fix skip range miscalculation
- Docs
- Rust not yet supported