diff --git a/rust/candid/tests/serde.rs b/rust/candid/tests/serde.rs index 3a09abe9..e1d6dcf6 100644 --- a/rust/candid/tests/serde.rs +++ b/rust/candid/tests/serde.rs @@ -702,7 +702,10 @@ fn test_multiargs() { ) .unwrap(); assert_eq!(tuple.2, None); - assert_eq!(tuple.3, ()); + #[allow(clippy::unit_cmp)] + { + assert_eq!(tuple.3, ()); + } assert_eq!(tuple.4, candid::Reserved); }