From 21234c66c3935330ccd58543dd3a915a293ac776 Mon Sep 17 00:00:00 2001 From: Jack Wills <32690432+mrjackwills@users.noreply.github.com> Date: Thu, 5 Oct 2023 19:54:05 +0000 Subject: [PATCH] chore: Rust 1.73 linting --- src/app_data/container_state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app_data/container_state.rs b/src/app_data/container_state.rs index a54608d..26b3272 100644 --- a/src/app_data/container_state.rs +++ b/src/app_data/container_state.rs @@ -248,7 +248,7 @@ impl PartialEq for CpuStats { impl PartialOrd for CpuStats { fn partial_cmp(&self, other: &Self) -> Option { - self.0.partial_cmp(&other.0) + Some(self.cmp(other)) } } @@ -291,7 +291,7 @@ impl PartialEq for ByteStats { impl PartialOrd for ByteStats { fn partial_cmp(&self, other: &Self) -> Option { - self.0.partial_cmp(&other.0) + Some(self.cmp(other)) } }