58
GitHub - toidiu/learn-rust
source link: https://github.com/toidiu/learn-rust
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
An interactive guide to learning Rust!
- It requires you to look at the docs!
- It requires you to search the web.
- It requires you to ask for help on IRC.
Requirements:
- Install rust
Tools
cargo
is Rust's package manager and part of the Rust instalation.
You can use it to access public packages on https://crates.io, create new packages
or format your code.
For now all you care about is cargo run
Steps:
Start at branch step1
(default branch)
- Use
cargo watch
orcargo watch -x run
and try to get the program to compile at each step. - Once the program compiles move onto the next branch
step1
->step1.1
->step2
->step2.1
->step3
Answers
Yes the answers can be found in the branch answer
. Try not to cheat; you wont learn!
Asking on IRC is preferable to cheating.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK