diff options
Diffstat (limited to 'openpgp/src/parse/map.rs')
-rw-r--r-- | openpgp/src/parse/map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/parse/map.rs b/openpgp/src/parse/map.rs index d584b16f..36fb42a9 100644 --- a/openpgp/src/parse/map.rs +++ b/openpgp/src/parse/map.rs @@ -91,7 +91,7 @@ impl Map { /// assert_eq!(map.iter().count(), 6); /// # Ok(()) } /// ``` - pub fn iter<'a>(&'a self) -> impl Iterator<Item = Field<'a>> { + pub fn iter<'a>(&'a self) -> impl Iterator<Item = Field<'a>> + Send + Sync { Iter::new(self) } } |