README.md
Lesson 1: Hello, Cargo
This lesson covers hello, Cargo. You'll read a short explanation, try three small exercises and finish with a quiz.
Read the full lesson: https://glibcode.net/courses/rust-ownership/lessons/1
Files
src/main.rs: a first Cargo project
Tip:
cargo clippyexplains a lot of borrow-checker surprises in plain words.
Tip: Read the whole compiler message: the note at the end usually has the fix.
Tip:
cargo checkis much faster thancargo buildwhile you are still fixing errors.
Run it
cargo run
Exercises
See exercises.md. Ask in the forum once you've tried.