libimagentrytag: Replace error module imports with macro helper

This commit is contained in:
Matthias Beyer 2016-05-19 17:05:14 +02:00
parent fb79aedbd2
commit be3d39a65c

View file

@ -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",