cargo check is the fastest way to check whether a Rust package compiles. It works like compilation, but does not build the program, so it finishes sooner. Use it while coding when you want compiler feedback without producing a runnable executable. section 18.1.2
Check code during development
Run `cargo check` from the package directory. If the code has compilation errors, Cargo reports them for correction. When you want to run the program, use `cargo run` instead; use `cargo build --release` when optimized release output is needed. section 18.1.2 section 18.5

