From 92a9a5741ce97f8bd4d2b7e0ae06b1bc5ed30dbf Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 3 Dec 2024 22:40:57 +0100 Subject: [PATCH] Fix cargo clippy issue --- central_backend/src/crypto/pki.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/central_backend/src/crypto/pki.rs b/central_backend/src/crypto/pki.rs index 4f9cd5a..d986b0c 100644 --- a/central_backend/src/crypto/pki.rs +++ b/central_backend/src/crypto/pki.rs @@ -120,7 +120,7 @@ enum GenCertificatSubjectReq<'a> { CSR { csr: &'a X509Req }, } -impl<'a> Default for GenCertificatSubjectReq<'a> { +impl Default for GenCertificatSubjectReq<'_> { fn default() -> Self { Self::Subject { cn: "" } }