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
- 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
- Formatting inside the `lazy_static!` macro did not work when the macro is used with the crate name: `lazy_static::lazy_static!`
- Fix handling of attribute in enum
- Fix list use formatting
- Separate function parameter from its attributes by a newline
- Formatting `use` statements sometimes leaves behind spaces and newlines
- Rustfmt removes values from extern static items
- reuse `rewrite_static` when formatting foreign static items
- Docs
- Rust not yet supported