diff options
Diffstat (limited to 'openpgp/src/types/bitfield.rs')
-rw-r--r-- | openpgp/src/types/bitfield.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/src/types/bitfield.rs b/openpgp/src/types/bitfield.rs index d4a896bc..7de2311e 100644 --- a/openpgp/src/types/bitfield.rs +++ b/openpgp/src/types/bitfield.rs @@ -11,7 +11,8 @@ impl From<Vec<u8>> for Bitfield { } impl Bitfield { - pub fn iter<'a>(&'a self) -> impl Iterator<Item = usize> + 'a { + pub fn iter<'a>(&'a self) -> impl Iterator<Item = usize> + Send + Sync + 'a + { self.raw.iter() .flat_map(|b| { (0..8).into_iter().map(move |i| { |