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 supported4 Subscribers
Add a CodeTriage badge to rustfmt
Help out
- Issues
- Add configuration option for wrapping of assignment right-hand side
- Allow a rest pattern before closing brace when destructuring
- Maybe don't wrap HTML in comments
- Reorders imports of modules containing `#![macro_use]`
- Formatting causes syntax error when indexing into return value of long unsafe block within a closure
- Inconsistent formatting between functions and function-like macros
- Support comments in trait bounds
- Indentation in cfg inside a macro increases on each fmt
- Use Unicode string comparison for sortable identifiers
- `/* comments */` are sometimes formatted away in function declarations
- Docs
- Rust not yet supported