Rust and Cargo 1 · Testing and code quality

Format the code

Format every file with rustfmt.

cargo fmt

Official Rust and Cargo 1 documentation

More testing and code quality commands

All testing and code quality commands · Rust and Cargo 1 cheatsheet

Was this page helpful?