Added second missing dyn

This commit is contained in:
Benjamin Lee
2019-07-30 20:15:26 -07:00
committed by GitHub
parent 7ddc46460f
commit 293fbfc38f

View File

@@ -895,7 +895,7 @@ at Listing 20-19.
# use std::sync::mpsc;
# struct Worker {}
type Job = Box<FnOnce() + Send + 'static>;
type Job = Box<dyn FnOnce() + Send + 'static>;
impl ThreadPool {
// --snip--