From 57e5c9bcf61da8c19588e5c37ae9018fb57a662e Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Thu, 22 Sep 2022 13:00:05 -0400 Subject: [PATCH] Ignore clippy warning as suggestion is unreadable (#1197) Signed-off-by: Thane Thomson Signed-off-by: Thane Thomson --- p2p/src/secret_connection/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/src/secret_connection/protocol.rs b/p2p/src/secret_connection/protocol.rs index 2120f2282..b17f4ca51 100644 --- a/p2p/src/secret_connection/protocol.rs +++ b/p2p/src/secret_connection/protocol.rs @@ -217,7 +217,7 @@ impl Version { /// Software Countermeasures (see "Rejecting Known Bad Points" subsection): /// /// -#[allow(clippy::match_same_arms)] +#[allow(clippy::match_same_arms, clippy::match_like_matches_macro)] fn is_low_order_point(point: &EphemeralPublic) -> bool { // Note: as these are public points and do not interact with secret-key // material in any way, this check does not need to be performed in