From c34c4ec887751d2a5a1148a23fb599ac030675eb Mon Sep 17 00:00:00 2001 From: plaidfinch Date: Wed, 21 Feb 2024 20:26:52 -0500 Subject: [PATCH] Add `Eq`/`PartialEq` impl for `Tally` (#3863) --- crates/core/component/governance/src/tally.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/component/governance/src/tally.rs b/crates/core/component/governance/src/tally.rs index 721db0c526..ed3d014ee5 100644 --- a/crates/core/component/governance/src/tally.rs +++ b/crates/core/component/governance/src/tally.rs @@ -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,