diff options
Diffstat (limited to 'lib/entry/libimagentryedit/src/error.rs')
-rw-r--r-- | lib/entry/libimagentryedit/src/error.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/entry/libimagentryedit/src/error.rs b/lib/entry/libimagentryedit/src/error.rs index 2bc81b19..5d5425f3 100644 --- a/lib/entry/libimagentryedit/src/error.rs +++ b/lib/entry/libimagentryedit/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 { EditError, EditErrorKind, ResultExt, Result; @@ -50,15 +46,3 @@ error_chain! { } } -impl IntoError for EditErrorKind { - type Target = EditError; - - fn into_error(self) -> Self::Target { - EditError::from_kind(self) - } - - fn into_error_with_cause(self, _: Box<Error>) -> Self::Target { - EditError::from_kind(self) - } -} - |