Skip to content

Commit

Permalink
Impl std Error for idexchange’s Error.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Jul 2, 2024
1 parent e5255a9 commit d3ab745
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ca/idexchange.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
//! used to exchange identity and configuration between CAs and their
//! parent CA and/or RPKI Publication Servers.
use std::borrow;
use std::{borrow, error, fmt, io};
use std::convert::Infallible;
use std::fmt;
use std::io;
use std::path::PathBuf;
use std::str::from_utf8;
use std::str::FromStr;
Expand Down Expand Up @@ -1254,6 +1252,8 @@ impl fmt::Display for Error {
}
}

impl error::Error for Error { }

impl From<xml::decode::Error> for Error {
fn from(e: xml::decode::Error) -> Self {
Error::InvalidXml(e)
Expand Down

0 comments on commit d3ab745

Please sign in to comment.