We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c37f2 commit e58cf64Copy full SHA for e58cf64
src/system/time.rs
@@ -51,7 +51,7 @@ impl Eq for Time {}
51
52
impl PartialOrd for Time {
53
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
54
- self.0.partial_cmp(&other.0)
+ Some(self.cmp(other))
55
}
56
57
0 commit comments