diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-21 11:22:26 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@sequoia-pgp.org> | 2021-09-30 08:31:00 +0300 |
commit | eec7b10558fd07a0cbcf04e1734bccea96335d4b (patch) | |
tree | 172b5be872443af658d450cef7f1532c42779471 | |
parent | e6a335b93a10620bcb7cbfa32e232949758f0c99 (diff) |
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
-rw-r--r-- | openpgp/src/cert/bundle.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<C> ComponentBundle<C> { /// 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<Item=Packet> + Send + Sync + pub(crate) fn into_packets(self) + -> impl Iterator<Item=Packet> + Send + Sync where Packet: From<C> { let p : Packet = self.component.into(); |