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 paths in `derive` attribute
- cargo fmt fails to format code when using symlinks
- Wrong indentation when using double `?` to handle long async function calls
- fix: remove trailing spaces when rewriting same line missing comments
- fix (#6586): Set a length limit
- rustfmt removes attributes on parameters of `fn` types
- `format_code_in_doc_comments` adds empty line between trailing comment and hidden code
- Fix incorrect whitespace modifications to non-rust code blocks
- FR: make disabling `format_generated_files` work with stdin input
- fix: prevent panic when formatting complex generics
- Docs
- Rust not yet supported