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
- 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
- trailing comma after function call chains may need a comment barrier
- rustfmt's `--config-path` help text is misleading
- feature request: add ability to enforce no blank lines in fn implementations
- Docs
- Rust not yet supported