From 7aacefac7c78746298be096df190196ff7e67bf1 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 6 Mar 2023 20:30:26 -0500 Subject: [PATCH] small cleanup --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 60538bb..1851f9e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -92,7 +92,7 @@ impl SharedPool { match inner.queue.peek() { None => self.cvar.notify_all(), Some(e) if e.time > job.time => self.cvar.notify_all(), - _ => 0usize, + _ => 0, }; inner.queue.push(job); }