mirror of
https://github.com/flancian/garden.git
synced 2026-08-03 04:56:20 +00:00
957 B
957 B
Learning Rust
- This is just a place where I might dump random observations while [learning] [rust].
- [go] https://doc.rust-lang.org/stable/book/ch01-02-hello-world.html
- a movable pointer
- Installing rustup via curl produced a working install right away, whereas
snap install curldidn't for some reason. println!is a macro, not a function, and this is indicated by the !. At first glance I thought it meant it was a function with side effects.- Semicolons. Sigh.
- "Cargo is Rust’s build system and package manager. Most Rustaceans use this tool to manage their Rust projects because Cargo handles a lot of tasks for you, such as building your code, downloading the libraries your code depends on, and building those libraries."