(&self, other: &Self)
| 25 | // 为 Visited 添加全序比较功能 |
| 26 | impl<V> Ord for Visited<V> { |
| 27 | fn cmp(&self, other: &Self) -> Ordering { |
| 28 | other.distance.cmp(&self.distance) |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | impl<V> PartialOrd for Visited<V> { |
no outgoing calls
no test coverage detected