Skip to content

Commit

Permalink
Merge pull request #2177 from xxyzz/master
Browse files Browse the repository at this point in the history
Remove call_box() from ch20-03
  • Loading branch information
steveklabnik authored Nov 28, 2019
2 parents 81ebaa2 + 9a5a1bf commit d9a6beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch20-03-graceful-shutdown-and-cleanup.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl Worker {
Message::NewJob(job) => {
println!("Worker {} got a job; executing.", id);
job.call_box();
job();
},
Message::Terminate => {
println!("Worker {} was told to terminate.", id);
Expand Down

0 comments on commit d9a6beb

Please sign in to comment.