summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-04-07 11:38:04 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-04-08 12:56:15 +0200
commitb7a2d023e1cb3f353da5dcee90e9271531c4f045 (patch)
treedecf5cde29da587c4c70efdb8a298f523ad7e49d
parent5f013265fcea9612c3cc8d024fc62ab6c5f93a3e (diff)
openpgp: Drop unused lifetime.
-rw-r--r--openpgp/src/packet/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet/mod.rs b/openpgp/src/packet/mod.rs
index 4cbd7ac8..e0535e86 100644
--- a/openpgp/src/packet/mod.rs
+++ b/openpgp/src/packet/mod.rs
@@ -373,7 +373,7 @@ impl Packet {
}
// Allow transparent access of common fields.
-impl<'a> Deref for Packet {
+impl Deref for Packet {
type Target = Common;
fn deref(&self) -> &Self::Target {
@@ -401,7 +401,7 @@ impl<'a> Deref for Packet {
}
}
-impl<'a> DerefMut for Packet {
+impl DerefMut for Packet {
fn deref_mut(&mut self) -> &mut Common {
match self {
&mut Packet::Unknown(ref mut packet) => &mut packet.common,