Skip to content

Commit a452110

Browse files
committed
Fix lints
1 parent 52f8bf1 commit a452110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/priority_queue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ impl<V: PartialEq, P: PartialEq + PartialOrd> PartialOrd<Self> for PriorityQueue
2020

2121
impl<V: PartialEq, P: PartialEq + PartialOrd> Ord for PriorityQueueItem<V, P> {
2222
fn cmp(&self, other: &Self) -> Ordering {
23-
self.partial_cmp(&other).unwrap_or(Equal)
23+
self.partial_cmp(other).unwrap_or(Equal)
2424
}
2525
}
2626

0 commit comments

Comments
 (0)