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
- Line break missing with indent_style = "Visual"
- rustfmt removes newlines in comments between chain calls
- Improve formatting of pattern alternatives
- Multi-line expression after `=>` does not get braces
- rustfmt formats different arms of the same match inconsistently
- Operator precedence
- Add max_content_width option
- `normalize_doc_attributes` sometimes comments out code
- Comments inside a function do not wrap whenever macro attributes are applied to the outside of the function
- format_macro_matchers deletes comments
- Docs
- Rust not yet supported