RustRover
 
Get RustRover

Rustfmt

Last modified: 20 January 2025

Rustfmt is a formatting tool that enforces the standard Rust-community code style.

Since version 2024.3, RustRover uses Rustfmt to format Rust files and projects by default. Code fragments, groups of files, and directories are still formatted by the built-in IDE formatter. If you want to switch back to using built-in formatter for files and projects, refer to the corresponding section.