summaryrefslogtreecommitdiffstats
path: root/lib/domain/libimagtodo/src
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-09-03 21:28:36 +0200
committerMatthias Beyer <mail@beyermatthias.de>2017-09-03 21:34:07 +0200
commit7ce44e80905cc60c656e385c7d1a4bb769f2c115 (patch)
tree9984e5d58814713c90db8624f87dbd759b2ff9be /lib/domain/libimagtodo/src
parent28d7085b2dbef61b95e41f05a276b256d66918dc (diff)
Remove "IntoError" trait, use error_chain functionality
Diffstat (limited to 'lib/domain/libimagtodo/src')
-rw-r--r--lib/domain/libimagtodo/src/error.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/domain/libimagtodo/src/error.rs b/lib/domain/libimagtodo/src/error.rs
index dffe9bb1..90b33310 100644
--- a/lib/domain/libimagtodo/src/error.rs
+++ b/lib/domain/libimagtodo/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 {
TodoError, TodoErrorKind, ResultExt, Result;
@@ -55,14 +51,3 @@ error_chain! {
}
}
-impl IntoError for TodoErrorKind {
- type Target = TodoError;
-
- fn into_error(self) -> Self::Target {
- TodoError::from_kind(self)
- }
-
- fn into_error_with_cause(self, _: Box<Error>) -> Self::Target {
- TodoError::from_kind(self)
- }
-}