From fb79aedbd29a40d8160828fc880774f62bc2dadb Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 19 May 2016 17:05:14 +0200 Subject: [PATCH] libimagentrylist: Replace error module imports with macro helper --- libimagentrylist/src/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libimagentrylist/src/error.rs b/libimagentrylist/src/error.rs index 15640042..d9843280 100644 --- a/libimagentrylist/src/error.rs +++ b/libimagentrylist/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!(ListError, ListErrorKind, FormatError => "FormatError",