1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-04-27 07:55:01 +02:00
rustlings/exercises
YunShu f714534393
docs: add more info in threads
info.toml: 

```toml
[[exercises]]
name = "threads3"
path = "exercises/threads/threads3.rs"
mode = "test"
hint = """
An alternate way to handle concurrency between threads is to use
a mpsc (multiple producer, single consumer) channel to communicate.
With both a sending end and a receiving end, it's possible to
send values in one thread and receive them in another.
Multiple producers are possible by using clone() to create a duplicate
of the original sending end.
See https://doc.rust-lang.org/book/ch16-02-message-passing.html for more info.
"""
```

threads3'hint contains this link, so it should be placed in Further Information
2024-04-08 22:07:26 +08:00
..
00_intro fix(intro2): changed intro2 to be a name error, not a format string error. 2023-10-20 17:31:56 +01:00
01_variables Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
02_functions Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
03_if Update exercises/03_if/if1.rs 2024-03-15 17:36:28 +00:00
04_primitive_types Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
05_vecs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
06_move_semantics fix(move_semantics): removed unused mut 2023-11-22 22:06:17 +05:30
07_structs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
08_enums Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
09_strings chore: fix a minor typo 2024-03-13 00:39:45 +00:00
10_modules Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
11_hashmaps Update hashmaps3.rs description for clarity 2024-03-04 10:38:09 -05:00
12_options options1: Update wording & fix grammar 2024-03-18 16:47:15 -07:00
13_error_handling Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
14_generics Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
15_traits Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
16_lifetimes Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
17_tests Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
18_iterators fix: clean up "return" wording in iterators4 2024-03-15 15:01:39 +01:00
19_smart_pointers Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
20_threads docs: add more info in threads 2024-04-08 22:07:26 +08:00
21_macros Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
22_clippy Reword clippy1 exercise to be more readable 2023-11-12 11:39:14 +01:00
23_conversions Merge pull request #1799 from NicolasRoelandt/patch-1 2024-03-27 17:28:35 +01:00
README.md Merge remote-tracking branch 'origin/main' 2024-03-28 00:11:19 +08:00
quiz1.rs docs: dedup repeated sentence 2023-07-21 14:42:19 +02:00
quiz2.rs docs: cleanup the explanation paragraphs at the start of each exercise. 2023-05-29 18:41:51 +01:00
quiz3.rs docs: cleanup the explanation paragraphs at the start of each exercise. 2023-05-29 18:41:51 +01:00

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