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
- 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
- Refactor visit_struct, visit_enum to propagate RewriteResult
- fix panic on failure to format generics in enum
- Formatting of associated types with GATs very verbose
- Too long line for function parameter of type impl Trait
- Bad formatting with closures
- Docs
- Rust not yet supported