From 04ebac7d6c3e1167241a19f91725b928692eae38 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Wed, 28 Aug 2024 14:43:58 +0400 Subject: [PATCH] style: remove extra explicit lifetime --- src/certs/dane.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/certs/dane.rs b/src/certs/dane.rs index 9eccbb8..e42a953 100644 --- a/src/certs/dane.rs +++ b/src/certs/dane.rs @@ -4,9 +4,9 @@ use crate::{ LibError, }; -pub async fn dane<'d>( +pub async fn dane( dns: &DnsClient, - cert: &CertificateDer<'d>, + cert: &CertificateDer<'_>, host: &str, port: u16, ) -> Result {