README.md
Lesson 6: Pattern matching
This lesson covers pattern matching. You'll read a short explanation, try three small exercises and finish with a quiz.
Full lesson: https://glibcode.net/courses/rust-ownership/lessons/6
Files
src/main.rs: match on enums, tuples and ranges
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.