Files
garden/learning-rust.md
T

16 lines
957 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 curl``` didn'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."
[//begin]: # "Autogenerated link references for markdown compatibility"
[learning]: learning "Learning"
[rust]: rust "Rust"
[go]: go "Go"
[//end]: # "Autogenerated link references"