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
- subtree-push nightly-2025-04-01
- Add `match_arm_indent` option
- Add formatting support for the `asm!` macro
- Handle `cargo fmt --manifest-path` when specifying the workspace's root `Cargo.toml`
- Encountered cargo fmt ICE when writing complicated match statements with field names containing greek letters and trailing space after comma
- Extend cfg_if! support to cfg_match!
- function return type exceeds max width without wrapping
- Formatting a line comment inbetween a function parameter and its type results in the type being commented out
- cargo fmt with specified manifest-path does not work in workspaces with bin and lib packages
- Weird new-line that does not shrink line width
- Docs
- Rust not yet supported