libimagentrylink: Replace error module imports with macro helper
This commit is contained in:
parent
22e015b8fd
commit
91f26220c6
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!(LinkError, LinkErrorKind,
|
||||
EntryHeaderReadError => "Error while reading an entry header",
|
||||
|
|
Loading…
Reference in a new issue