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",