fix typo in binary_heap docs

This commit is contained in:
Thomas Lindae 2024-04-24 22:59:39 +02:00
parent 7bb4f0889e
commit d3bbdcf26c

View File

@ -31,7 +31,7 @@
//! // instead of a max-heap.
//! impl Ord for State {
//! fn cmp(&self, other: &Self) -> Ordering {
//! // Notice that the we flip the ordering on costs.
//! // Notice that we flip the ordering on costs.
//! // In case of a tie we compare positions - this step is necessary
//! // to make implementations of `PartialEq` and `Ord` consistent.
//! other.cost.cmp(&self.cost)