Module fmt

Module fmt 

Source
Expand description

cargo xtask fmt — check or apply rustfmt formatting.

In check mode (the default, used in CI) the task exits non-zero if any file would be reformatted. With --apply the formatting is written back to disk.

Structs§

FmtArgs
Arguments for cargo xtask fmt.

Functions§

run
Runs cargo fmt across the entire workspace.