diff --git a/src/error.rs b/src/error.rs index 45b1f4d..fff0b0d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -14,8 +14,8 @@ use crate::response::ResponseStatus; pub enum Error { Io(std::io::Error), Command(ResponseStatus), - Xml(Box), - Other(Box), + Xml(Box), + Other(Box), } impl StdError for Error {} @@ -33,8 +33,8 @@ impl Display for Error { } } -impl From> for Error { - fn from(e: Box) -> Self { +impl From> for Error { + fn from(e: Box) -> Self { Self::Other(e) } }