summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-02-26 21:14:38 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-02-26 21:15:23 +0100
commit22b28b0eca7ea723c8544224f93dcb311697c26f (patch)
tree057d210d1b88a91a56700a4d10b38266dfa226ae
parentffb15aa4567af3152633d07a4598444659a8fbd8 (diff)
openpgp: Make ComponentAmalgamation implement PartialEq.
-rw-r--r--openpgp/src/cert/amalgamation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/amalgamation.rs b/openpgp/src/cert/amalgamation.rs
index db308d72..f60589ae 100644
--- a/openpgp/src/cert/amalgamation.rs
+++ b/openpgp/src/cert/amalgamation.rs
@@ -205,7 +205,7 @@ pub trait ValidAmalgamation<'a, C: 'a> : Amalgamation<'a, C> {
}
/// A certificate's component and its associated data.
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq)]
pub struct ComponentAmalgamation<'a, C>{
cert: &'a Cert,
bundle: &'a ComponentBundle<C>,