summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-08-06 13:56:46 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-08-07 22:26:15 +0200
commitfaa8a8cd55be90c9777928c3e8ea495bbd249f6d (patch)
tree3fe0d163cc152f224eca852e2900351fac5bf32b
parent24529e03b55f29cf7f735d6208de09a7352db113 (diff)
openpgp: Remove unnecessary lifetime annotation.
-rw-r--r--openpgp/src/packet/signature/subpacket.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/signature/subpacket.rs b/openpgp/src/packet/signature/subpacket.rs
index 370cac29..0ff7907a 100644
--- a/openpgp/src/packet/signature/subpacket.rs
+++ b/openpgp/src/packet/signature/subpacket.rs
@@ -433,7 +433,7 @@ impl SubpacketArea {
}
/// Iterates over the subpackets.
- pub fn iter<'a>(&'a self) -> impl Iterator<Item = &'a Subpacket> {
+ pub fn iter(&self) -> impl Iterator<Item = &Subpacket> {
self.packets.iter()
}