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 comments bug: comment merges with the next line even if it's a code block opener
- [Tracking] Comment preservation and formatting issues
- matches! macro with ranges prevent formating inside other macro
- panic: SourceAnnotation range `(79, 110)` is bigger than source length `106`
- Use caret (`^`) comparison instead of `==` for `required_version`
- bug: panics on slice index error when formatting malformed doc comment
- Off by one: return type on associated function/method wraps at exactly `max_width`
- cleanup of redundant patterns
- Trailing whitespace remains when passing `--edition 2024`
- Add Support for sorting `#[derive(...)]`
- Docs
- Rust not yet supported