(&self, other: &Self)
| 1922 | // BinaryHeap is a max-heap; Reverse the desired (oldest, lowest-OID) order. |
| 1923 | impl Ord for ReadyEntry { |
| 1924 | fn cmp(&self, other: &Self) -> CmpOrdering { |
| 1925 | other |
| 1926 | .committer_time |
| 1927 | .cmp(&self.committer_time) |
| 1928 | .then_with(|| other.oid.as_bytes().cmp(self.oid.as_bytes())) |
| 1929 | } |
| 1930 | } |
| 1931 | |
| 1932 | let collected: HashSet<Oid> = commit_oids.iter().copied().collect(); |
no test coverage detected