Solutions for the exercises set in the Microsoft Rust Learning Path
- Install the tools you need to write your first lines of Rust code.
- Learn basic concepts in Rust.
- Learn how to handle errors.
- Manage memory in Rust.
- Use generic types and traits.
- Set up modules for packages and crates.
- Write and run automated tests.
- Create a command-line program.
- Exercise 01: Write a function to build a car
- Exercise 02: Work with compound types
- Exercise 03: Work with if/else conditions
- Exercise 04: Use a hash map to track orders
- Exercise 05: Use a loop to iterate on data
- Exercise 06: Use the Option type to deal with absence
- Exercise 07: Use the Result type to handle errors
- Exercise 08: Implement a generic type
- Exercise 09: Implement an iterator
- Exercise 10: Visibility
- Exercise 11: Modules
- Exercise 12: Write unit tests
- Exercise 13: Write documentation tests
- Exercise 14: Commandline todo list program