Skip to content

Commit

Permalink
Derive Eq where clippy suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Nov 20, 2022
1 parent 1119c3c commit c8505bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tendermint/src/proposal/sign_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl SignProposalRequest {
}

/// SignedProposalResponse is response containing a signed proposal or an error
#[derive(Clone, PartialEq, Debug)]
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct SignedProposalResponse {
/// Proposal
pub proposal: Option<Proposal>,
Expand Down
2 changes: 1 addition & 1 deletion tendermint/src/public_key/pub_key_response.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{privval::RemoteSignerError, PublicKey};

/// PubKeyResponse
#[derive(Clone, PartialEq, Debug)]
#[derive(Clone, PartialEq, Eq, Debug)]
// Todo: either pub_key OR error is present
pub struct PubKeyResponse {
/// Public key
Expand Down
2 changes: 1 addition & 1 deletion tendermint/src/vote/sign_vote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl SignVoteRequest {
}

/// SignedVoteResponse is a response containing a signed vote or an error
#[derive(Clone, PartialEq, Debug)]
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct SignedVoteResponse {
/// Optional Vote
pub vote: Option<Vote>,
Expand Down

0 comments on commit c8505bd

Please sign in to comment.