cargo-fmt
Verified for current stable LTS
Cargo Fmt Command: Pass Arguments To Rustfmt
Use for pass arguments to rustfmt with Cargo Fmt. Exact CLI syntax to pass arguments to rustfmt using Cargo Fmt.
When to use this: Use for pass arguments to rustfmt with Cargo Fmt.
Command Syntax
cargo fmt -- <rustfmt_args> cargo fmt -- <rustfmt_args> Command Breakdown
--- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to pass arguments to rustfmt using Cargo Fmt.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Cargo Fmt Command: Check Formatting Errors
cargo fmt --check Cargo Fmt Command: Format All Source Files cargo fmt Jmeter Command: Run Test Plan Nongui jmeter -n -t <path/to/file.jmx> Jmeter Command: Run Test Plan Nongui Logfile jmeter -n -t <path/to/file.jmx> -l <path/to/logfile.jtl> Tar Command: Create A Gzipped Archive From A Directory Using Relative Paths tar czf <path/to/target.tar.gz> -C <path/to/directory> .