From 99478283937289a3378ce22cb0e9f8f7c0d80312 Mon Sep 17 00:00:00 2001 From: Arindam Das Date: Sun, 17 Oct 2021 14:17:48 +0530 Subject: [PATCH] Stylized ThreadPool::drop() docstring. --- src/threadpool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }