From 5480f7e67b33257fb80a4e1cf2d4f97ed63f2792 Mon Sep 17 00:00:00 2001 From: Unisko PENG Date: Tue, 4 Apr 2023 16:07:04 +0800 Subject: [PATCH] Update Ch20 --- hello/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hello/src/lib.rs b/hello/src/lib.rs index beca15f..fbcd7d0 100644 --- a/hello/src/lib.rs +++ b/hello/src/lib.rs @@ -1,4 +1,6 @@ #![allow(warnings)] +use std::thread; + pub struct ThreadPool { threads: Vec>, }