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 supported4 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- Group use vs mod statements
- Comments inside a function do not wrap whenever macro attributes are applied to the outside of the function
- Incorrect whitespace when match_arm_blocks set to false
- Should not visual-align same-line comments within function arguments
- [format_macro_matchers] Closure syntax
- No formatting in arguments passed to macros defined with `=>`
- rustfmt is slow on pest generated grammars
- poor formatting of some if/else expressions with hard_tabs = true
- Recursive `--config-path` doesn't recurse
- rustfmt formats non-rust code in doc comments
- Docs
- Rust not yet supported