summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openpgp/src/cert/bundle.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/bundle.rs b/openpgp/src/cert/bundle.rs
index 865f86d8..8fa65131 100644
--- a/openpgp/src/cert/bundle.rs
+++ b/openpgp/src/cert/bundle.rs
@@ -699,8 +699,8 @@ impl<C> ComponentBundle<C> {
/// function uses the component's type (`C`) to determine the
/// packet's type; the type is not a function of whether the key
/// has secret key material.
- pub(crate) fn into_packets<'a>(self)
- -> impl Iterator<Item=Packet> + Send + Sync
+ pub(crate) fn into_packets(self)
+ -> impl Iterator<Item=Packet> + Send + Sync
where Packet: From<C>
{
let p : Packet = self.component.into();