cargo new hello_world
cd hello_world && cargo run
rustc --explain E0308
rustc --explain E0106
- https://doc.rust-lang.org/rust-by-example/hello/print.html
- https://doc.rust-lang.org/std/primitive/index.html
- A
mut
reference is also an exclusive reference - Rust does not have a ternary operator
- Keywords that are reserved for current or future use
- Why should I put the code inside
fn main()
? - https://doc.rust-lang.org/book/ch04-01-what-is-ownership.html + Memory Management, Heap & Stack + https://cheats.rs/#memory-lifetimes + https://github.com/donbright/rust-lang-cheat-sheet#ownership-borrowing-references-lifetimes + - https://github.com/matheusb432/rust-course/blob/main/notes/03-memory.md + https://youtu.be/NnLdGKoz1ls
- Standard collection library