From eec7b10558fd07a0cbcf04e1734bccea96335d4b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 21 Sep 2021 11:22:26 +0300 Subject: Drop extra unused lifetime annotation The lifetime was not used in anyway so it only adds noise to the source code. This was found by the clippy lint extra_unused_lifetimes: https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes --- openpgp/src/cert/bundle.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openpgp') diff --git a/openpgp/src/cert/bundle.rs b/openpgp/src/cert/bundle.rs index 865f86d8..8fa65131 100644 --- a/openpgp/src/cert/bundle.rs +++ b/openpgp/src/cert/bundle.rs @@ -699,8 +699,8 @@ impl ComponentBundle { /// function uses the component's type (`C`) to determine the /// packet's type; the type is not a function of whether the key /// has secret key material. - pub(crate) fn into_packets<'a>(self) - -> impl Iterator + Send + Sync + pub(crate) fn into_packets(self) + -> impl Iterator + Send + Sync where Packet: From { let p : Packet = self.component.into(); -- cgit v1.2.3