chore: Rust 1.73 linting

This commit is contained in:
Jack Wills
2023-10-05 19:54:05 +00:00
parent ca79893df5
commit 21234c66c3
+2 -2
View File
@@ -248,7 +248,7 @@ impl PartialEq for CpuStats {
impl PartialOrd for CpuStats { impl PartialOrd for CpuStats {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> { fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.0.partial_cmp(&other.0) Some(self.cmp(other))
} }
} }
@@ -291,7 +291,7 @@ impl PartialEq for ByteStats {
impl PartialOrd for ByteStats { impl PartialOrd for ByteStats {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> { fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.0.partial_cmp(&other.0) Some(self.cmp(other))
} }
} }