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 supported23 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- Removing empty type parameter list results in invalid Rust code
- Allow splitting multi-line `use` statements into separate single-line statements
- Indentation in closures gets formatted twice and result is not nice™
- Stabilise --emit=checkstyle
- Does rustfmt look in $HOME/.config/rustfmt on macOS?
- Trailing spaces removed when formatting `&str` over `max_width`
- Nested `macro_rules` utilising inner metavariable are infinitely indented with repeated formatting
- crash: #[path="/dev/null"] attr
- poor formatting of some if/else expressions with hard_tabs = true
- Second comment line is not indented correctly
- Docs
- Rust not yet supported