diff options
Diffstat (limited to 'openpgp/src/cert/bundle.rs')
-rw-r--r-- | openpgp/src/cert/bundle.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/src/cert/bundle.rs b/openpgp/src/cert/bundle.rs index fb5922f0..d755fe80 100644 --- a/openpgp/src/cert/bundle.rs +++ b/openpgp/src/cert/bundle.rs @@ -606,7 +606,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> + pub(crate) fn into_packets<'a>(self) + -> impl Iterator<Item=Packet> + Send + Sync where Packet: From<C> { let p : Packet = self.component.into(); |