diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-05-19 17:05:14 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-05-19 18:22:03 +0200 |
commit | 22e015b8fd5805dcfbfde4308e79f4b82224be92 (patch) | |
tree | 768cde3a0937ff8cf6cd84eff45b2bbff5b1b0b2 /libimagcounter | |
parent | ddcdaca3e825a350a22f0f0d9d9dd83e0accc901 (diff) |
libimagcounter: Replace error module imports with macro helper
Diffstat (limited to 'libimagcounter')
-rw-r--r-- | libimagcounter/src/error.rs | 4 |
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", |