From a11b8e2cc5b1e2dccc8f9ca0a401c3eee41f7373 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Thu, 12 Oct 2023 06:51:05 +0000 Subject: [PATCH] Clippy --- src/bingen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bingen.rs b/src/bingen.rs index f33d0ce..1525dd4 100644 --- a/src/bingen.rs +++ b/src/bingen.rs @@ -85,7 +85,7 @@ mod segments { impl PartialOrd for CodeSegment<'_> { fn partial_cmp(&self, other: &Self) -> Option { - self.addr.partial_cmp(&other.addr) + Some(self.cmp(other)) } }