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
- `const {}` as a method call receiver is silently left unformatted
- rustfmt turns `default pub` into `pub default` which is invalid
- rustfmt switches `;` around causing type error
- rustfmt copies `cfg_attr` content into `fn` params for some reason
- 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
- Docs
- Rust not yet supported