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
- `format_code_in_doc_comments` should not touch non-rust code blocks
- Add `doc_comment_code_block_small_heuristics`, to override `use_small_heuristics` in doc code
- `rustfmt` breaks macro code
- SourceAnnotation range `(151, 152)` is bigger than source length `108`
- `imports_granularity=One` removes macro imports that share names with modules
- Fix rustfmt giving up on formatting when multi-line strings exceed max_width
- Buf with cargo fmt
- fix: wrap function without a body exceeding 100 characters (#6539)
- Fix panic on blockquote
- subtree-push nightly-2025-10-07
- Docs
- Rust not yet supported