style: remove extra explicit lifetime

This commit is contained in:
DarkCat09 2024-08-28 14:43:58 +04:00
parent 220a4a3316
commit 04ebac7d6c
Signed by: DarkCat09
GPG key ID: BD3CE9B65916CD82

View file

@ -4,9 +4,9 @@ use crate::{
LibError, LibError,
}; };
pub async fn dane<'d>( pub async fn dane(
dns: &DnsClient, dns: &DnsClient,
cert: &CertificateDer<'d>, cert: &CertificateDer<'_>,
host: &str, host: &str,
port: u16, port: u16,
) -> Result<CertFingerprint, LibError> { ) -> Result<CertFingerprint, LibError> {