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
- Fix long type paths by breaking paths into multiple lines when exceeding maximum width
- Formatting does not work with match arm having mixed OR clauses and comments
- Odd formatting of empty `where` clause
- rustfmt deletes comment beside macro identifier
- Unexpected arrow indent change in trait methods with Rust edition 2024
- Fix Issue 6470: Preserve Space after colon if followed by absolute path declaration (::)
- Consider releasing `version_sort` as a standalone crate
- [unstable option] `float_literal_trailing_zero`
- Add ability to extend an existing config with missing defaults
- rustfmt deletes comment after arrow in Fn type
- Docs
- Rust not yet supported