From 8d9d223cbc011bc15d3171e8d16b681e392964ac Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 25 Oct 2023 22:54:28 -0400 Subject: [PATCH] drop unused From impl Signed-off-by: William Woodruff --- src/rust/cryptography-x509-validation/src/policy/mod.rs | 6 ------ 1 file changed, 6 deletions(-) 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)