imag-view: Replace error module imports with macro helper
This commit is contained in:
parent
0315b93c04
commit
ddcdaca3e8
1 changed files with 1 additions and 3 deletions
|
@ -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!(ViewError, ViewErrorKind,
|
||||
StoreError => "Store error",
|
||||
|
|
Loading…
Reference in a new issue