Reformat code
To reformat code according to the current code style settings, select Code | Reformat Code from the main menu or press &shortcut:ReformatCode;.
By default, RustRover will use the built-in formatter. If you prefer Rustfmt, go to Settings | Languages & Frameworks | Rust | Rustfmt and set the Use Rustfmt instead of built-in formatter checkbox.