diff --git a/src/rust/cryptography-x509-verification/src/policy/mod.rs b/src/rust/cryptography-x509-verification/src/policy/mod.rs index 3bbedc91cadb..e49133317b9a 100644 --- a/src/rust/cryptography-x509-verification/src/policy/mod.rs +++ b/src/rust/cryptography-x509-verification/src/policy/mod.rs @@ -179,7 +179,7 @@ pub enum Subject<'a> { IP(IPAddress), } -impl<'a> Subject<'a> { +impl Subject<'_> { fn subject_alt_name_matches(&self, general_name: &GeneralName<'_>) -> bool { match (general_name, self) { (GeneralName::DNSName(pattern), Self::DNS(name)) => {