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 supported5 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- Lift imports to the top of the block
- Panic in SourceAnnotation when using `hard_tabs = true`
- rustfmt requires two runs to converge on contrived input
- fn_call_width - also matches tuple construction
- rustfmt deletes comment at start of array length expression
- Package name wildcard support for cargo fmt -p
- Bad formatting for nested tuple field accesses on `style_edition` < 2024 when the accesses are formatted on different lines.
- rustfmt misformat when comment blocks are used
- rustfmt formats a macro when it should not
- Replace wrap_str with validate_shape
- Docs
- Rust not yet supported