Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Mar 7, 2023
1 parent 29665ed commit 7aacefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7aacefa

Please sign in to comment.