Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cargo-fmt(1)

名稱

cargo-fmt — Formats all bin and lib files of the current crate using rustfmt

描述

This is an external command distributed with the Rust toolchain as an optional component. It is not built into Cargo, and may require additional installation.

For information about usage and installation, see https://github.com/rust-lang/rustfmt.

另請參見

cargo(1), cargo-fix(1), cargo-clippy(1), Custom subcommands