mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 04:52:55 +00:00
chore: fix clippy lints 2024-12-06 (#10138)
This commit is contained in:
@@ -91,7 +91,7 @@ impl Timing {
|
||||
|
||||
/// Return true if there is a ready event.
|
||||
fn is_event_ready(&self, queue: &mut BinaryHeap<Pending>) -> bool {
|
||||
queue.peek().map_or(false, |x| x.time <= self.now())
|
||||
queue.peek().is_some_and(|x| x.time <= self.now())
|
||||
}
|
||||
|
||||
/// Clear all pending events.
|
||||
|
||||
Reference in New Issue
Block a user