1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00
rustlings/exercises
Matt Nield fdada8b3d4
chore: Update errors5.rs exercise to be consistent with solution
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.
2024-07-05 16:04:07 -04:00
..
00_intro Improve the comment in intro1 2024-07-04 13:10:18 +02:00
01_variables Improve the placement of TODO comments 2024-07-02 16:26:28 +02:00
02_functions Fix typos 2024-06-06 01:59:09 +02:00
03_if if3 solution 2024-05-22 15:54:35 +02:00
04_primitive_types primitive_types6 solution 2024-06-19 14:25:29 +02:00
05_vecs vecs2 solution + significant change to have a better comparison between both methods 2024-06-21 14:52:11 +02:00
06_move_semantics Fix misleading test name 2024-07-04 11:58:09 -07:00
07_structs Fix typos 2024-06-26 02:26:04 +02:00
08_enums Adjust enums exercises 2024-07-05 14:11:03 +02:00
09_strings strings4 solution 2024-06-22 12:51:21 +02:00
10_modules Fix warnings 2024-07-04 13:38:35 +02:00
11_hashmaps fix: Add clarification to instructions for hashmaps2.rs 2024-07-05 08:27:51 -04:00
12_options Add comment to options1 2024-07-04 13:00:04 +02:00
13_error_handling chore: Update errors5.rs exercise to be consistent with solution 2024-07-05 16:04:07 -04:00
14_generics Merge branch 'main' 2024-07-03 15:26:05 +02:00
15_traits Fix warnings 2024-07-04 13:38:35 +02:00
16_lifetimes lifetimes3 solution 2024-06-27 16:15:53 +02:00
17_tests Use todo!() instead of ??? 2024-06-28 02:26:35 +02:00
18_iterators Unify fn signature in iterators4 exercise and solution 2024-07-04 14:23:34 -07:00
19_smart_pointers Fix warnings 2024-07-04 13:38:35 +02:00
20_threads Fix typos 2024-07-02 14:28:08 +02:00
21_macros macros4 solution 2024-07-01 11:54:05 +02:00
22_clippy Fix clippy1 2024-07-04 19:46:43 +02:00
23_conversions as_ref_mut solution 2024-07-02 01:35:38 +02:00
quizzes Improve quizes 2024-07-05 15:38:59 +02:00
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