summaryrefslogtreecommitdiffstats
path: root/openpgp/src/types
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-11-22 19:48:17 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-11-29 11:53:55 +0100
commitde63b2d073e92d0618ea7af3ecf2881252a31aed (patch)
tree77026ed476b1f09167d22977dc668823d48af418 /openpgp/src/types
parent192460a201a631a03e8e5a00469343fbe73fb437 (diff)
Drop unnecessary lifetime annotations.
Diffstat (limited to 'openpgp/src/types')
-rw-r--r--openpgp/src/types/bitfield.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/types/bitfield.rs b/openpgp/src/types/bitfield.rs
index c6dd5f13..9fce02c3 100644
--- a/openpgp/src/types/bitfield.rs
+++ b/openpgp/src/types/bitfield.rs
@@ -11,7 +11,7 @@ impl From<Vec<u8>> for Bitfield {
}
impl Bitfield {
- pub fn iter<'a>(&'a self) -> impl Iterator<Item = usize> + Send + Sync + 'a
+ pub fn iter(&self) -> impl Iterator<Item = usize> + Send + Sync + '_
{
self.raw.iter()
.flat_map(|b| {