chore: Rust 1.73 linting
This commit is contained in:
@@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user