diff options
Diffstat (limited to 'lib/entry/libimagentryref/src/error.rs')
-rw-r--r-- | lib/entry/libimagentryref/src/error.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/entry/libimagentryref/src/error.rs b/lib/entry/libimagentryref/src/error.rs index c4152a14..b826c7ca 100644 --- a/lib/entry/libimagentryref/src/error.rs +++ b/lib/entry/libimagentryref/src/error.rs @@ -17,10 +17,6 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // -use std::error::Error; - -use libimagerror::into::IntoError; - error_chain! { types { RefError, RefErrorKind, ResultExt, Result; @@ -153,14 +149,3 @@ error_chain! { } } -impl IntoError for RefErrorKind { - type Target = RefError; - - fn into_error(self) -> Self::Target { - RefError::from_kind(self) - } - - fn into_error_with_cause(self, _: Box<Error>) -> Self::Target { - RefError::from_kind(self) - } -} |