[pbs-devel] [PATCH offline-mirror] verifier: elide lifetimes when possible

Maximiliano Sandoval m.sandoval at proxmox.com
Mon Jan 13 14:30:28 CET 2025


Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 src/helpers/verifier.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/helpers/verifier.rs b/src/helpers/verifier.rs
index 0010ba2..5a0aa37 100644
--- a/src/helpers/verifier.rs
+++ b/src/helpers/verifier.rs
@@ -21,7 +21,7 @@ struct Helper<'a> {
     cert: &'a Cert,
 }
 
-impl<'a> VerificationHelper for Helper<'a> {
+impl VerificationHelper for Helper<'_> {
     fn get_certs(&mut self, _ids: &[KeyHandle]) -> sequoia_openpgp::Result<Vec<Cert>> {
         // Return public keys for signature verification here.
         Ok(vec![self.cert.clone()])
-- 
2.39.5





More information about the pbs-devel mailing list