libimagcounter: Replace error module imports with macro helper
This commit is contained in:
parent
ddcdaca3e8
commit
22e015b8fd
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
use std::error::Error;
|
generate_error_imports!();
|
||||||
use std::fmt::Error as FmtError;
|
|
||||||
use std::fmt::{Display, Formatter};
|
|
||||||
|
|
||||||
generate_error_types!(CounterError, CounterErrorKind,
|
generate_error_types!(CounterError, CounterErrorKind,
|
||||||
StoreReadError => "Store read error",
|
StoreReadError => "Store read error",
|
||||||
|
|
Loading…
Reference in a new issue