diff --git a/src/error/error.rs b/src/error/error.rs index 579518a..9b7d4a0 100644 --- a/src/error/error.rs +++ b/src/error/error.rs @@ -10,7 +10,6 @@ pub enum CustomError { Text(String), Static(&'static str), IO(std::io::Error), - BoxedError(Box), Parser(ErrorKind), } @@ -36,9 +35,3 @@ impl From<&'static str> for CustomError { CustomError::Static(value) } } - -impl From> for CustomError { - fn from(value: Box) -> Self { - CustomError::BoxedError(value) - } -}