diff options
Diffstat (limited to 'openpgp/src/cert.rs')
-rw-r--r-- | openpgp/src/cert.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs index bb2970fc..78dad9b1 100644 --- a/openpgp/src/cert.rs +++ b/openpgp/src/cert.rs @@ -1384,7 +1384,7 @@ impl Cert { /// # Ok(()) /// # } /// ``` - pub fn from_packets(p: impl Iterator<Item=Packet>) -> Result<Self> { + pub fn from_packets(p: impl Iterator<Item=Packet> + Send + Sync) -> Result<Self> { let mut i = parser::CertParser::from_iter(p); if let Some(cert_result) = i.next() { if i.next().is_some() { |