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 supported22 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- --file-lines can trip up trailing whitespace validity check
- keep the trailing semicolon on loops that break with a value
- normalize_doc_attributes + wrap_comments can leave trailing whitespace
- Preserve comments before semicolon in use statements
- Reserve width for `const ` when formatting inline const blocks
- rustfmt duplicates Trait identifier causing syntax error
- `const {}` as a method call receiver is silently left unformatted
- comma is removed from `#[cfg_attr(` which causes syntax error
- rustfmt switches `;` around causing type error
- removes comment after import
- Docs
- Rust not yet supported