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 Tar Command: Create A Gzipped Archive From A Directory Using Relative Paths tar czf <path/to/target.tar.gz> -C <path/to/directory> . Tar Command: Extract Files Matching A Pattern From An Archive File tar xf <path/to/source.tar> --wildcards "<*.html>" Grep Command: Search For A Pattern In All Files Recursively grep -rI "<search_pattern>" <path/to/directory>