We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52f8bf1 commit a452110Copy full SHA for a452110
src/algorithms/priority_queue.rs
@@ -20,7 +20,7 @@ impl<V: PartialEq, P: PartialEq + PartialOrd> PartialOrd<Self> for PriorityQueue
20
21
impl<V: PartialEq, P: PartialEq + PartialOrd> Ord for PriorityQueueItem<V, P> {
22
fn cmp(&self, other: &Self) -> Ordering {
23
- self.partial_cmp(&other).unwrap_or(Equal)
+ self.partial_cmp(other).unwrap_or(Equal)
24
}
25
26
0 commit comments