Skip to content

Commit 65bf817

Browse files
committed
chore: commit uncommited change
1 parent 6e2e207 commit 65bf817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/thread_pool.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type Job = Box<dyn FnOnce() + Send + 'static>;
1212
#[allow(dead_code)]
1313
struct ThreadPool {
1414
workers: Vec<thread::JoinHandle<()>>,
15-
sender: Option<mpsc::Sender<Box<dyn FnOnce() + Send + 'static>>>,
15+
sender: Option<mpsc::Sender<Job>>,
1616
}
1717

1818
impl ThreadPool {

0 commit comments

Comments
 (0)