Greetings and welcome to rustlings exercises
. This project contains exercise solutions to get you used to reading and writing Rust code.
The repository and the entire solution module is divided by Git tags. Start from the git tag corresponding to the module you are interested in:
- Clone the repository, if you haven't already:
git clone git@github.com:freddydc/rustlings-exercises.git
- Update tag information:
git fetch --tags
- List the available tags:
git tag
You should see something like:
1.0.0
- Start a new branch from the point you want:
git checkout -b name-of-my-branch chosen-label
# For example, to create a branch named 'dev' from '1.0.0' tag
git checkout -b dev 1.0.0
🔥 That's all, you can start with all the changes included up to that module.
💡 In the Releases section you can find the entire list of tags.
Exercise | Book Chapter |
---|---|
variables | §3.1 |
functions | §3.3 |
if | §3.5 |
move_semantics | §4.1 |
primitive_types | §4.3 |
structs | §5.1 |
enums | §6 |
modules | §7 |
collections | §8.1, §8.3 |
strings | §8.2 |
error_handling | §9 |
generics | §10 |
option | §10.1 |
traits | §10.2 |
tests | §11.1 |
standard_library_types | §13.2 |
threads | §16.1 |
macros | §19.6 |
clippy | n/a |
conversions | n/a |
advanced_errors | n/a |
Help other students with what you just discovered that would make this course and repository so much better.