summaryrefslogtreecommitdiffstats
path: root/libimagcounter
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
commit22e015b8fd5805dcfbfde4308e79f4b82224be92 (patch)
tree768cde3a0937ff8cf6cd84eff45b2bbff5b1b0b2 /libimagcounter
parentddcdaca3e825a350a22f0f0d9d9dd83e0accc901 (diff)
libimagcounter: Replace error module imports with macro helper
Diffstat (limited to 'libimagcounter')
-rw-r--r--libimagcounter/src/error.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/libimagcounter/src/error.rs b/libimagcounter/src/error.rs
index f2e11eeb..d3858d33 100644
--- a/libimagcounter/src/error.rs
+++ b/libimagcounter/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!(CounterError, CounterErrorKind,
StoreReadError => "Store read error",