summaryrefslogtreecommitdiffstats
path: root/imag-store/src
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
commit0315b93c04050909a769c75d735ed71ec8d52b98 (patch)
tree46bcbebae3f9c2be87719ec6c6cd40383a7962e4 /imag-store/src
parent62cd7871a295741ad54af50cd1429d42648c2b4a (diff)
imag-store: Replace error module imports with macro helper
Diffstat (limited to 'imag-store/src')
-rw-r--r--imag-store/src/error.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/imag-store/src/error.rs b/imag-store/src/error.rs
index 472070f2..f68d5dc0 100644
--- a/imag-store/src/error.rs
+++ b/imag-store/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!(StoreError, StoreErrorKind,
BackendError => "Backend Error",