diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-05-23 22:00:50 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-05-24 14:31:44 +0200 |
commit | b1f43e3ef53500c4931a97147d238c2ae70673b7 (patch) | |
tree | 3cd5081763fcad3470f0be535da135c2f7c140ce /libimagstore | |
parent | 71c7ca3c43e08a500ad1249c4901e0c0eaa55bf7 (diff) |
Impl Into<error name> for all <errorkindname>
Diffstat (limited to 'libimagstore')
-rw-r--r-- | libimagstore/src/hook/error.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libimagstore/src/hook/error.rs b/libimagstore/src/hook/error.rs index e55c2b8f..472dc142 100644 --- a/libimagstore/src/hook/error.rs +++ b/libimagstore/src/hook/error.rs @@ -11,14 +11,6 @@ pub trait IntoHookError { fn into_hookerror_with_cause(self, cause: Box<Error>) -> HookError; } -impl Into<HookError> for HookErrorKind { - - fn into(self) -> HookError { - HookError::new(self, None) - } - -} - impl Into<HookError> for (HookErrorKind, Box<Error>) { fn into(self) -> HookError { |