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
- feat: place import statements at the top/bottom of the file
- Allow `reason` attribute for `#[rusfmt::skip]`
- bug: normalize_comments eats single line comments in rust examples
- Improve let-chain indentation
- Inconsistent comment handling in tuple field formatting
- Idea: settings hierarchy / categorization
- error[internal]: left behind trailing whitespace (full repro with GitHub link to offending repo)
- gives up on a `box` pattern
- Extraneous newlines around `macro_rules!` rules not removed if body can not be formatted
- "error[internal]: left behind trailing whitespace" with long macro inside closure
- Docs
- Rust not yet supported