diff options
Diffstat (limited to 'openpgp/src/packet/mod.rs')
-rw-r--r-- | openpgp/src/packet/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openpgp/src/packet/mod.rs b/openpgp/src/packet/mod.rs index 330ed9f4..45ef3d3c 100644 --- a/openpgp/src/packet/mod.rs +++ b/openpgp/src/packet/mod.rs @@ -708,7 +708,9 @@ impl<'a> Iter<'a> { /// ]); /// # Ok(()) } /// ``` - pub fn paths(self) -> impl Iterator<Item = (Vec<usize>, &'a Packet)> { + pub fn paths(self) + -> impl Iterator<Item = (Vec<usize>, &'a Packet)> + Send + Sync + { PacketPathIter { iter: self, path: None, |