From be3d39a65c02f941772046d3413b9384f8f7d464 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 19 May 2016 17:05:14 +0200 Subject: [PATCH] libimagentrytag: Replace error module imports with macro helper --- libimagentrytag/src/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libimagentrytag/src/error.rs b/libimagentrytag/src/error.rs index 5be68b90..0e8aa3e7 100644 --- a/libimagentrytag/src/error.rs +++ b/libimagentrytag/src/error.rs @@ -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!(TagError, TagErrorKind, TagTypeError => "Entry Header Tag Type wrong",