summaryrefslogtreecommitdiffstats
path: root/libimagentryview
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-05-19 17:05:14 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-05-19 18:22:03 +0200
commit128bb73a204c66d7a7aabaa57005286129bc1647 (patch)
treec1604746d1c7138ea2f4529d97accae45c6d9ebb /libimagentryview
parentbe3d39a65c02f941772046d3413b9384f8f7d464 (diff)
libimagentryview: Replace error module imports with macro helper
Diffstat (limited to 'libimagentryview')
-rw-r--r--libimagentryview/src/error.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/libimagentryview/src/error.rs b/libimagentryview/src/error.rs
index 32982342..4f4889d1 100644
--- a/libimagentryview/src/error.rs
+++ b/libimagentryview/src/error.rs
@@ -1,6 +1,4 @@
-use std::error::Error;
-use std::fmt::Error as FmtError;
-use std::fmt::{Display, Formatter};
+generate_error_imports!();
generate_error_types!(ViewError, ViewErrorKind,
Unknown => "Unknown view error"