mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-05 17:53:29 +02:00
Clean up and unify exercises
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
// threads2.rs
|
||||
//
|
||||
// Building on the last exercise, we want all of the threads to complete their
|
||||
// work but this time the spawned threads need to be in charge of updating a
|
||||
// shared value: JobStatus.jobs_completed
|
||||
//
|
||||
// Execute `rustlings hint threads2` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
use std::sync::Arc;
|
||||
use std::thread;
|
||||
|
||||
Reference in New Issue
Block a user