Skip to content

Commit

Permalink
Ignore clippy warning as suggestion is unreadable (#1197)
Browse files Browse the repository at this point in the history
Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
  • Loading branch information
thanethomson authored Sep 22, 2022
1 parent 99f4cd0 commit 57e5c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/src/secret_connection/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl Version {
/// Software Countermeasures (see "Rejecting Known Bad Points" subsection):
///
/// <https://eprint.iacr.org/2017/806.pdf>
#[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
Expand Down

0 comments on commit 57e5c9b

Please sign in to comment.