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
- `cargo fmt --message-format json` error is hard to understand (on stable).
- rustfmt indents leading section comments to match code indentation, breaking intentional left-aligned vertical alignment
- Bug: trailing spaces left after formatting
- [Tracking] `rust-lang/rustfmt` fixes not yet synced to `rust-lang/rust`
- bug: rustfmt silently breaks on this sample
- Should group_imports apply to function bodies?
- Suggestion for an `IfLongLine` setting for `use_small_heuristic`
- `format_strings` can cause code to no longer be reformatted
- rustfmt produces different results when run from build.rs script when in workspace crate
- Fixes adjustment of max_width within macros
- Docs
- Rust not yet supported