MCPcopy Create free account
hub / github.com/bootc-dev/bootc / partial_cmp

Method partial_cmp

crates/lib/src/lints.rs:153–155  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

151
152impl PartialOrd for Lint {
153 fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
154 Some(self.cmp(other))
155 }
156}
157impl Ord for Lint {
158 fn cmp(&self, other: &Self) -> std::cmp::Ordering {

Callers 2

Calls 1

cmpMethod · 0.45

Tested by

no test coverage detected