CmdID / Commands
Run rustfmt on all source files in a Rust project. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Format all source files
cargo fmt
Check for formatting errors without writing to the files
cargo fmt --check
Pass arguments to each rustfmt call
cargo fmt -- rustfmt_args
rustfmt