Skip to content

Commit

Permalink
Add Eq/PartialEq impl for Tally (#3863)
Browse files Browse the repository at this point in the history
  • Loading branch information
plaidfinch authored Feb 22, 2024
1 parent 22f5f74 commit c34c4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/component/governance/src/tally.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::{
vote::Vote,
};

#[derive(Clone, Copy, Debug, Default, Serialize, Deserialize)]
#[derive(Clone, Copy, Debug, Default, Serialize, Deserialize, PartialEq, Eq)]
#[serde(try_from = "pb::Tally", into = "pb::Tally")]
pub struct Tally {
yes: u64,
Expand Down

0 comments on commit c34c4ec

Please sign in to comment.