diff --git a/src/executor.rs b/src/executor.rs index d3e86c7..bd05953 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -87,7 +87,7 @@ impl TaskQueue { } pub struct ThreadPool { - threads: Mutex>>, + _threads: Mutex>>, queue: Arc, } @@ -106,7 +106,7 @@ impl ThreadPool { } Ok(Self { - threads: Mutex::new(threads), + _threads: Mutex::new(threads), queue, }) }