rustlings/exercises
richard jarram 3e6a8cfbdb docs(exercises): Updated challenge instructions for threads1.rs #closes 287
I've seen from a cursory glance on the repo that a lot of people
struggle with this problem set because of the ambiguity in the
instructions (See issues #287, #743, #567).

I'd like to recommend perhaps putting a TODO on the lines that need
changing to stop people from falling down rabbit holes and pursuing
completely different solution to the exercise that avoids the core
pedagogical content of the problem, which is an understanding of
how Arc is an atomic reference counting primitive that relies on
.lock() and .unwrap() to solve shared state concurrency problems
with the Mutex primitive.

I've also added comments in the instructions to highlight why it is that
the solution is solved when the program prints the counter to the screen
6 times, as this was unclear and was distracting students from the core
takeaway of the exercise.
2021-05-26 20:37:12 -07:00
..
clippy docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
collections docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
conversions docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
enums docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
error_handling docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
functions docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
generics fix: add hints to generics1 and generics2 exercises 2021-05-11 14:50:05 -05:00
if docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
macros docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
modules docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
move_semantics fix: move_semantics5 hints 2021-05-22 22:09:58 -05:00
option feat: Add move_semantics5 exercise. (#746) 2021-05-17 14:10:40 +02:00
primitive_types docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
standard_library_types fix: remove trailing whitespaces from iterators1 2021-05-12 10:20:07 -05:00
strings docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
structs fix: remove trailing whitespace 2021-05-09 17:58:54 -05:00
tests docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
threads docs(exercises): Updated challenge instructions for threads1.rs #closes 287 2021-05-26 20:37:12 -07:00
traits docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
variables docs(exercises): updated all exercises readme files 2021-04-23 19:54:31 +02:00
quiz1.rs chore: Update quiz1.rs add explicit test for 40 2021-04-25 19:02:50 +02:00
quiz2.rs fix(exercises): adding question mark to quiz2 2020-08-25 16:38:41 +02:00
quiz3.rs fix(quiz3): Force an answer to Q2 (#672) 2021-03-16 10:14:25 +01:00
quiz4.rs feat: renames test to quiz, fixes #244 2020-05-19 18:47:44 +02:00
README.md fix: added missing exercises to info.toml 2020-12-12 10:34:59 -08:00

Exercise to Book Chapter mapping

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.2
collections §8.1
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