diff --git a/src/rust/cryptography-x509-validation/src/policy/mod.rs b/src/rust/cryptography-x509-validation/src/policy/mod.rs index 24cd1ea0ff65..14276f7e836e 100644 --- a/src/rust/cryptography-x509-validation/src/policy/mod.rs +++ b/src/rust/cryptography-x509-validation/src/policy/mod.rs @@ -130,12 +130,6 @@ impl From for PolicyError { } } -impl From for PolicyError { - fn from(value: DuplicateExtensionsError) -> Self { - Self::DuplicateExtension(value) - } -} - impl From<&'static str> for PolicyError { fn from(value: &'static str) -> Self { Self::Other(value)