mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-08 09:09:17 +01:00
fdada8b3d4
In errors5.rs, there are two lines of a pattern matching block for which the order is reversed between the exercise file and the solution file. Since these lines are not changed as part of the exercise, this commit updates the exercise to make the order of the lines consistent with the solution, so that users will focus only on the lines that change between the exercise and the solution. |
||
---|---|---|
.. | ||
00_intro | ||
01_variables | ||
02_functions | ||
03_if | ||
04_primitive_types | ||
05_vecs | ||
06_move_semantics | ||
07_structs | ||
08_enums | ||
09_strings | ||
10_modules | ||
11_hashmaps | ||
12_options | ||
13_error_handling | ||
14_generics | ||
15_traits | ||
16_lifetimes | ||
17_tests | ||
18_iterators | ||
19_smart_pointers | ||
20_threads | ||
21_macros | ||
22_clippy | ||
23_conversions | ||
quizzes | ||
README.md |
Exercise to Book Chapter mapping
Exercise | Book Chapter |
---|---|
variables | §3.1 |
functions | §3.3 |
if | §3.5 |
primitive_types | §3.2, §4.3 |
vecs | §8.1 |
move_semantics | §4.1-2 |
structs | §5.1, §5.3 |
enums | §6, §18.3 |
strings | §8.2 |
modules | §7 |
hashmaps | §8.3 |
options | §10.1 |
error_handling | §9 |
generics | §10 |
traits | §10.2 |
lifetimes | §10.3 |
tests | §11.1 |
iterators | §13.2-4 |
smart_pointers | §15, §16.3 |
threads | §16.1-3 |
macros | §19.5 |
clippy | §21.4 |
conversions | n/a |