Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
200
impl PartialOrd for AtomicNodeIndex {
201
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
202
Some(self.cmp(other))
203
}
204
}
205
206
impl Ord for AtomicNodeIndex {
Callers
nothing calls this directly
Calls
1
cmp
Method · 0.45
Tested by
no test coverage detected