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
- let proc-macro's provide a formatting hook for rustfmt
- do not remove brackets around statement arg in macro
- don't format string literals with \n\ ending
- Tracking issue for `style_edition`
- Single expression match arm blocks on one line
- Group imports by their visibilities
- Document how to "leave" formatting as-is
- Feature request: control maximum line length with `fn_params_layout = "Tall"`?
- rustfmt puts `where` on same line as `impl` for empty `impl` even if long
- The search for the config file ignores symlinks
- Docs
- Rust not yet supported