Rust Formatter
Format Rust code with rustfmt
Settings
Input
Output
About Rust Formatter
The Rust Formatter helps you format Rust code using rustfmt, the official Rust code formatter. It supports all Rust editions and provides comprehensive formatting options.
Key Features
- Rustfmt standard formatting
- Multiple edition support
- Macro formatting
- String formatting
- Max width control
- Consistent style
Tips
- Select correct Rust edition
- Set appropriate max width
- Format before committing
- Use with cargo fmt