From d7e8ebfbaa191a069da82a8e4d304f43d249ffbc Mon Sep 17 00:00:00 2001 From: elliedavidson <118024407+elliedavidson@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:33:37 -0400 Subject: [PATCH] lints --- crates/hotshot-signature-key/src/bn254/bn254_priv.rs | 2 +- crates/hotshot-signature-key/src/bn254/bn254_pub.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/hotshot-signature-key/src/bn254/bn254_priv.rs b/crates/hotshot-signature-key/src/bn254/bn254_priv.rs index 87d80c8dfe..5b16c7a93d 100644 --- a/crates/hotshot-signature-key/src/bn254/bn254_priv.rs +++ b/crates/hotshot-signature-key/src/bn254/bn254_priv.rs @@ -54,7 +54,7 @@ impl BLSPrivKey { } } -#[allow(clippy::incorrect_partial_ord_impl_on_ord_type)] +// #[allow(clippy::incorrect_partial_ord_impl_on_ord_type)] impl PartialOrd for BLSPrivKey { fn partial_cmp(&self, other: &Self) -> Option { let self_bytes = &self.priv_key.to_string(); diff --git a/crates/hotshot-signature-key/src/bn254/bn254_pub.rs b/crates/hotshot-signature-key/src/bn254/bn254_pub.rs index 410a0e12fb..43fc3a6c43 100644 --- a/crates/hotshot-signature-key/src/bn254/bn254_pub.rs +++ b/crates/hotshot-signature-key/src/bn254/bn254_pub.rs @@ -27,7 +27,7 @@ pub struct BLSPubKey { pub_key: VerKey, } -#[allow(clippy::incorrect_partial_ord_impl_on_ord_type)] +// #[allow(clippy::incorrect_partial_ord_impl_on_ord_type)] impl PartialOrd for BLSPubKey { fn partial_cmp(&self, other: &Self) -> Option { let self_bytes = &self.pub_key.to_string();