File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -572,8 +572,10 @@ Some commands and tools that are good to know.
572572| Command | Description |
573573| --------| ---- |
574574| ` cargo init ` | Create a new project for the latest edition. |
575- | ` cargo build ` | Build the project in debug mode (` --release ` for all optimization). |
576- | ` cargo check ` | Check if project would compile (much faster). |
575+ | ` cargo build ` , ` cargo b ` | Build the project in debug mode (` --release ` for all optimization). |
576+ | ` cargo check ` , ` cargo c ` | Check if project would compile (much faster). |
577+ | ` cargo test ` , ` cargo t ` | Run tests for the project. |
578+ | ` cargo run ` , ` cargo r ` | Run your project, if a binary is produced (main.rs). |
577579| ` cargo rustc -- -Zunpretty=X ` | Show more desugared Rust code, in particular with X being: |
578580| | ` expanded ` Show with expanded macros, ... |
579581| ` rustup docs ` | Open offline Rust documentation, good on a plane! |
You can’t perform that action at this time.
0 commit comments