libimagentrytag: Replace error module imports with macro helper
This commit is contained in:
parent
fb79aedbd2
commit
be3d39a65c
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!(TagError, TagErrorKind,
|
generate_error_types!(TagError, TagErrorKind,
|
||||||
TagTypeError => "Entry Header Tag Type wrong",
|
TagTypeError => "Entry Header Tag Type wrong",
|
||||||
|
|
Loading…
Reference in a new issue