mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
fix(threads1): line number correction
This commit is contained in:
parent
10965920fb
commit
7857b0a689
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
// threads1.rs
|
||||
// Make this compile! Execute `rustlings hint threads1` for hints :)
|
||||
// The idea is the thread spawned on line 21 is completing jobs while the main thread is
|
||||
// The idea is the thread spawned on line 22 is completing jobs while the main thread is
|
||||
// monitoring progress until 10 jobs are completed. Because of the difference between the
|
||||
// spawned threads' sleep time, and the waiting threads sleep time, when you see 6 lines
|
||||
// of "waiting..." and the program ends without timing out when running,
|
||||
|
|
Loading…
Reference in a new issue