summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/cert.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-02-20 13:26:01 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-02-20 16:19:46 +0100
commit2164d2e3db8c66ab98164465eaf821eb7765a760 (patch)
tree081b05d1d974b972d339d0ab61f74fadecf9f1a5 /openpgp/src/serialize/cert.rs
parentf35f03635b319ece2c93f43db96ddc7cb30b5236 (diff)
openpgp: Rename the Amalgamation trait to ValidAmalgamation.
- The Amalgamation trait only applies to ValidComponents. Rename it accordingly.
Diffstat (limited to 'openpgp/src/serialize/cert.rs')
-rw-r--r--openpgp/src/serialize/cert.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize/cert.rs b/openpgp/src/serialize/cert.rs
index d7c94ab7..a74ebc35 100644
--- a/openpgp/src/serialize/cert.rs
+++ b/openpgp/src/serialize/cert.rs
@@ -664,7 +664,7 @@ impl<'a> SerializeInto for TSK<'a> {
mod test {
use super::*;
use crate::vec_truncate;
- use crate::cert::components::Amalgamation;
+ use crate::cert::components::ValidAmalgamation;
use crate::parse::Parse;
use crate::serialize::Serialize;
use crate::packet::key;