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
- Exclude block-style comments in wrap_str/filter_normal_code check
- Empty lines wrongly removed
- Stabilise `--skip-children`
- Line indented again each time rustfmt is run until it's 100 columns wide
- Remove extra whitespace after match arrow
- alphabetical order for type in trait definition also
- enable filtered test file execution
- Add sub module inner attributes to module item attributes
- Rustfmt removes all indentation from the `where` clause here, making it inconsistent with the function header
- Configurable per-object item wrap count via `#[rustfmt::items(10)]` (for better displaying large vectors, arrays, & matrices)
- Docs
- Rust not yet supported