rustfmt Command Examples

Format Rust source code. More information: https://github.com/rust-lang/rustfmt.

rustfmt {{path/to/source.rs}}

rustfmt --check {{path/to/source.rs}}

rustfmt --backup {{path/to/source.rs}}