MCPcopy Create free account
hub / github.com/astral-sh/ruff / partial_cmp

Method partial_cmp

crates/ruff_python_ast/src/node_index.rs:201–203  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

199
200impl PartialOrd for AtomicNodeIndex {
201 fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
202 Some(self.cmp(other))
203 }
204}
205
206impl Ord for AtomicNodeIndex {

Callers

nothing calls this directly

Calls 1

cmpMethod · 0.45

Tested by

no test coverage detected