Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ cmp
Method
cmp
crates/ruff_python_ast/src/node_index.rs:207–209 ·
view source on GitHub ↗
(&self, other: &Self)
Source
from the content-addressed store, hash-verified
205
206
impl Ord for AtomicNodeIndex {
207
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
208
self.load().cmp(&other.load())
209
}
210
}
211
212
impl Eq for AtomicNodeIndex {}
Callers
9
update_max_precedence
Method · 0.45
update_max_precedence_with_count
Method · 0.45
partial_cmp
Method · 0.45
choose
Method · 0.45
handle_own_line_comment_between_branches
Function · 0.45
handle_own_line_comment_after_branch
Function · 0.45
partial_cmp
Method · 0.45
try_compare
Method · 0.45
finish
Method · 0.45
Calls
1
load
Method · 0.45
Tested by
no test coverage detected