From 07636377d58a4a1200525ba09f27d597176b3b84 Mon Sep 17 00:00:00 2001 From: Zeeshan Lakhani Date: Tue, 18 Jul 2023 10:52:58 +0900 Subject: [PATCH] chore: fix clippy (#202) --- homestar-core/src/ipld/link.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homestar-core/src/ipld/link.rs b/homestar-core/src/ipld/link.rs index 000a4a97..6b1ac7f6 100644 --- a/homestar-core/src/ipld/link.rs +++ b/homestar-core/src/ipld/link.rs @@ -64,7 +64,7 @@ impl Eq for Link {} impl PartialOrd for Link { fn partial_cmp(&self, other: &Self) -> Option { - Some(self.cid.cmp(other.cid())) + Some(self.cmp(other)) } }