From 9f1ebb93cba87f5d43702a138cdce658fbdd511d Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 10 Jun 2022 12:57:30 +1000 Subject: [PATCH] Allow nonminimal_bool in unit test We are explicitly testing various boolean statements, tell clippy to allow less than minimal statements. --- src/key.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/key.rs b/src/key.rs index 4ffc117..b9154a9 100644 --- a/src/key.rs +++ b/src/key.rs @@ -2077,6 +2077,7 @@ mod test { #[cfg(not(fuzzing))] #[test] + #[allow(clippy::nonminimal_bool)] fn pubkey_equal() { let pk1 = PublicKey::from_slice( &hex!("0241cc121c419921942add6db6482fb36243faf83317c866d2a28d8c6d7089f7ba"),