diff --git a/src/threadpool.rs b/src/threadpool.rs index 009611f..c89d641 100644 --- a/src/threadpool.rs +++ b/src/threadpool.rs @@ -304,7 +304,7 @@ where Req: Send + Debug + 'static, Res: Send + Debug + 'static, { - /// Invokes terminate() + /// Invokes `terminate()` fn drop(&mut self) { self.terminate().unwrap() }