Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
elliedavidson committed Oct 11, 2023
1 parent e0b7371 commit d7e8ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/hotshot-signature-key/src/bn254/bn254_priv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Ordering> {
let self_bytes = &self.priv_key.to_string();
Expand Down
2 changes: 1 addition & 1 deletion crates/hotshot-signature-key/src/bn254/bn254_pub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Ordering> {
let self_bytes = &self.pub_key.to_string();
Expand Down

0 comments on commit d7e8ebf

Please sign in to comment.