Skip to content

Commit

Permalink
drop unused From impl
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Oct 26, 2023
1 parent 9ff4070 commit 8d9d223
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/rust/cryptography-x509-validation/src/policy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@ impl From<asn1::ParseError> for PolicyError {
}
}

impl From<DuplicateExtensionsError> 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)
Expand Down

0 comments on commit 8d9d223

Please sign in to comment.