From 2f04ea3f4307ebe263c3859dbd64615eb723929c Mon Sep 17 00:00:00 2001 From: mw Date: Tue, 30 May 2017 17:32:37 -0400 Subject: [PATCH] Typo, remove 'has' --- second-edition/src/ch20-04-storing-threads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/second-edition/src/ch20-04-storing-threads.md b/second-edition/src/ch20-04-storing-threads.md index e3a5420b0..5bab5513d 100644 --- a/second-edition/src/ch20-04-storing-threads.md +++ b/second-edition/src/ch20-04-storing-threads.md @@ -172,7 +172,7 @@ we can tell the different workers in the pool apart when logging or debugging. Let's make these changes: 1. Define a `Worker` struct that holds an `id` and a `JoinHandle<()>` -2. Change `ThreadPool` to hold has a vector of `Worker` instances +2. Change `ThreadPool` to hold a vector of `Worker` instances 3. Define a `Worker::new` function that takes an `id` number and returns a `Worker` instance with that `id` and a thread spawned with an empty closure, which we'll fix soon