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
- Uses visual style for long closure arguments
- Unstable feature warnings are printed multiple times
- comments within parameter list not idempotent
- Only put spaces around ranges when start and end is specified
- Alignment of let bindings
- Retain newlines when reordering imports
- cargo fmt and cargo fmt --check don't agree on bindgen
- Custom attributes sometimes not formatted
- Fails to format certain macro calls after encountering one with invalid syntax
- option to enforce ordering for attributes and doc comments
- Docs
- Rust not yet supported