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
- Always Place Spaces after Commas in Macro Match Arms
- `MacroArgParser` Discards Spaces After Commas Sometimes
- Chain comments after `.` prevent chain from being formatted because comment would be lost
- Fix `brace_style="PreferSameLine"` with `trailing_comma="Vertical"` results
- "left behind trailing whitespace" in long patterns
- Special case `matches!` macro
- Divergent case: rustfmt increases indentation on each invocation in rustfmt::skip'd block
- Configurable per-object item wrap count via `#[rustfmt::items(10)]` (for better displaying large vectors, arrays, & matrices)
- `rustfmt::nowrap` attribute to disable all width constraints
- More advanced `group_imports` with 4 groups and adaptable "std-like" crates
- Docs
- Rust not yet supported