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
- Bad hard-tabs handling with blocks in long expressions
- [Feature Request] allow blank line as first line within functions
- fix: avoid leaking wrapper space from doc comment code block formatting
- fix: preserve blank lines when removing empty statements consistently
- [ICE]: end byte index 100 is not a char boundary; it is inside '☃' (bytes 98..101 of string)
- Rustc ICE while formatting
- max_width not obeyed in match arm tuple
- Fixed ICE when formatting files outside of toml dir
- ICE when running `cargo fmt -- --config-path ../foo/bar.toml` with unstable `ignore` feature
- Fix formatting of commented-out empty generic bounds
- Docs
- Rust not yet supported