MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / partial_cmp

Method partial_cmp

code/chapter08/dijkstra.rs:31–33  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

29
30impl<V> PartialOrd for Visited<V> {
31 fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
32 Some(self.cmp(other))
33 }
34}
35
36impl<V> Eq for Visited<V> {}

Callers

nothing calls this directly

Calls 1

cmpMethod · 0.45

Tested by

no test coverage detected