Rust Formatter

Format Rust code with rustfmt

Back to Tools

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

Trusted by Professionals Worldwide

GorillaUTIL provides innovative PDF solutions that empower users to manage their documents with confidence. Enjoy seamless editing, conversion, and security features tailored for your needs.

GDPR Compliant

Full compliance with data protection regulations

Data Encryption

Military-grade encryption for your files

User Satisfaction

98% customer satisfaction rating