curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
codium --install-extension rust-lang.rust-analyzer
codium --install-extension jscearcy.rust-doc-viewer
#1yib.rust-bundle
cargo new exercise01
cd exercise01
cargo run
cargo build --release
cargo build --debug
cargo check
cargo.toml
contains dependencies
**/target/
Cargo.lock
for
switch
/case
statementlet
keyword sorts out datatypes later.built in functions / macros I’ve discovered dbg! println! assert! assert_eq! assert_ne! debug_assert! mut todo! format! unreachable! eprintln!
variables are immutable by default
constants and variables are different
const