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
- First and second operand in series of binops should not be on one line if first operand 4 characters and binop requires surrounding spaces
- Draft: Add #[rustfmt::sort] and implement for enum variants and struct structs
- rust-lang/style-team#189: rhs-should-use-indent-of-last-line-of-lhs
- Defining generics in a macro inside macro causes infinite indentation
- Incorrectly and non-idempotently modifies `..` in macro
- Feature request: Add an option to place the arguments of function-like attributes on the same line until `attr_fn_like_width` is exceeded.
- Issue-5892: Type alias generic ident should follow the same linebreak rule as trait
- update README.md on how to install toolchain and components
- prefer core-alloc-std to alloc-core-std when reordering standard libraries imports
- Fix handling of attribute in enum
- Docs
- Rust not yet supported