From d883462d8317847c64231310a20dff1a6233ebd5 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 30 Oct 2020 15:13:48 +1000 Subject: [PATCH] Silence a clippy equal arguments warning The unit tests need to pass identical arguments to an equality comparison, to make sure equality is implemented correctly. --- zebra-chain/src/amount.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra-chain/src/amount.rs b/zebra-chain/src/amount.rs index 0cf8ddd84..de644a46a 100644 --- a/zebra-chain/src/amount.rs +++ b/zebra-chain/src/amount.rs @@ -609,6 +609,7 @@ mod test { Ok(()) } + #[allow(clippy::eq_op)] fn ordering() -> Result<()> where C1: Constraint + Debug,