MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / cmp

Method cmp

os/src/timer.rs:47–49  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

45
46impl Ord for TimerCondVar {
47 fn cmp(&self, other: &Self) -> Ordering {
48 self.partial_cmp(other).unwrap()
49 }
50}
51
52lazy_static! {

Callers 1

partial_cmpMethod · 0.80

Calls 1

partial_cmpMethod · 0.80

Tested by

no test coverage detected