From 95b5e7c86d33e98eec6f73b268d106621f3d24a1 Mon Sep 17 00:00:00 2001 From: Jan Szopinski Date: Wed, 26 Jan 2022 22:17:37 +0000 Subject: [PATCH] Ch20-02 Remove reference to a long-gone "trick" In #1906, a workaround involving `FnBox` was removed, but the paragraph after still makes a reference to a "trick". --- src/ch20-02-multithreaded.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch20-02-multithreaded.md b/src/ch20-02-multithreaded.md index 244f8e53fb..86e7a12598 100644 --- a/src/ch20-02-multithreaded.md +++ b/src/ch20-02-multithreaded.md @@ -585,8 +585,8 @@ The call to `recv` blocks, so if there is no job yet, the current thread will wait until a job becomes available. The `Mutex` ensures that only one `Worker` thread at a time is trying to request a job. -With the implementation of this trick, our thread pool is in a working state! -Give it a `cargo run` and make some requests: +Our thread pool is now in a working state! Give it a `cargo run` and make some +requests: