diff --git a/src/pool.rs b/src/pool.rs index a533c39..3cc25f6 100644 --- a/src/pool.rs +++ b/src/pool.rs @@ -67,6 +67,7 @@ pub fn join_all(i: impl IntoIterator>) } /// A pool container that ensures worker threads are waited on before termination. +#[derive(Debug)] pub struct Pool(Vec>); impl Pool @@ -77,7 +78,7 @@ impl Pool drop(self) } - /// Detach the pool and do not join its worker threads. + /// Detach the pool but do not join its worker threads. #[inline] pub fn detach(mut self) { self.0 = Vec::default();