summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-02-20 22:10:48 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-02-20 22:11:54 +0100
commita57262d26636590eaec123d7b60b9efdd604a61e (patch)
treec3b24fe46302468ce68ff7317ebb2de314bfec42 /examples
parent291edaec90f6ef8dd6daab96478bd7d33a0066ab (diff)
openpgp: Add the bundle method to the Amalgamation trait.
- Add the `bundle()` method to the Amalgamation trait instead of implementing it on each struct.
Diffstat (limited to 'examples')
-rw-r--r--examples/guide-exploring-openpgp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/guide-exploring-openpgp.rs b/examples/guide-exploring-openpgp.rs
index 298fcd6c..c6b603dc 100644
--- a/examples/guide-exploring-openpgp.rs
+++ b/examples/guide-exploring-openpgp.rs
@@ -1,6 +1,7 @@
//! https://sequoia-pgp.org/guide/exploring-openpgp/
extern crate sequoia_openpgp as openpgp;
+use crate::openpgp::cert::components::Amalgamation;
use crate::openpgp::parse::Parse;
use crate::openpgp::policy::StandardPolicy as P;