libimagnotes: Replace error module imports with macro helper
This commit is contained in:
parent
81d46f9e74
commit
c88d5b308f
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!(NoteError, NoteErrorKind,
|
||||
StoreWriteError => "Error writing store",
|
||||
|
|
Loading…
Reference in a new issue