Find a file
Daniel Wagner-Hall 2e2f6b945d Re-order actions you can take with a Result
It's generally better practice to handle or propagate errors, rather
than panicking in response to them. This edit moves panicking to be the
_last_ option introduced, rather than the first. It also adds caveats to
avoid doing so, and explicitly mentions propagating as something to
consider.
2024-10-31 13:48:46 +00:00
.github/workflows Merge pull request #172 from marcoow/fix-fork-build 2024-10-29 14:16:29 +01:00
book Re-order actions you can take with a Result 2024-10-31 13:48:46 +00:00
exercises Merge pull request #188 from cenviity/push-usrtukunqysw 2024-10-29 14:39:03 +01:00
helpers Add print-ready PDF (#127) 2024-08-06 17:09:04 +02:00
site chore: Shorten links 2024-09-27 14:47:00 +02:00
.gitignore 100 exercises to learn Rust 2024-05-12 22:47:45 +02:00
.wr.toml 100 exercises to learn Rust 2024-05-12 22:47:45 +02:00
Cargo.lock Add print-ready PDF (#127) 2024-08-06 17:09:04 +02:00
Cargo.toml Add print-ready PDF (#127) 2024-08-06 17:09:04 +02:00
dprint.json Formatter (#51) 2024-05-24 17:00:03 +02:00
README.md Formatter (#51) 2024-05-24 17:00:03 +02:00

Learn Rust, one exercise at a time

You've heard about Rust, but you never had the chance to try it out?
This course is for you!

You'll learn Rust by solving 100 exercises.
You'll go from knowing nothing about Rust to being able to start writing your own programs, one exercise at a time.

Note

This course has been written by Mainmatter.
It's one of the trainings in our portfolio of Rust workshops.
Check out our landing page if you're looking for Rust consulting or training!

Getting started

Go to rust-exercises.com and follow the instructions there to get started with the course.

Requirements

  • Rust (follow instructions here).
    If rustup is already installed on your system, run rustup update (or another appropriate command depending on how you installed Rust on your system) to make sure you're running on the latest stable version.
  • (Optional but recommended) An IDE with Rust autocompletion support. We recommend one of the following:

Solutions

You can find the solutions to the exercises in the solutions branch of this repository.

License

Copyright © 2024- Mainmatter GmbH (https://mainmatter.com), released under the Creative Commons Attribution-NonCommercial 4.0 International license.