diff options
| author | mo8it <mo8it@proton.me> | 2024-07-01 10:59:33 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-01 10:59:33 +0200 |
| commit | b000164eedaf5ada18ce0562aa9b7aed25663458 (patch) | |
| tree | b6da90b523f1e319b43e111fcf3c6d0d5614f7a7 /rustlings-macros | |
| parent | 663a03a17b2d2001f4f3f35a59cd2e2aa5f2bb24 (diff) | |
threads1 solution
Diffstat (limited to 'rustlings-macros')
| -rw-r--r-- | rustlings-macros/info.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index cacdad9..37afa17 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -1037,7 +1037,7 @@ hint = """ https://doc.rust-lang.org/std/thread/fn.spawn.html A challenge with multi-threaded applications is that the main thread can -finish before the spawned threads are completed. +finish before the spawned threads are done. https://doc.rust-lang.org/book/ch16-01-threads.html#waiting-for-all-threads-to-finish-using-join-handles Use the `JoinHandle`s to wait for each thread to finish and collect their |
