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
- 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
- Group use vs mod statements
- Rewriting single-line comments to multi-line results to unaligned offset when using hard_tabs
- two runs required on imports with leading ::
- Comment alignment breaks when exceeding the max_width
- Alternative approach for constructing the AST and mod/file mapping
- Gives up on chains if any line is too long.
- Docs
- Rust not yet supported