From ddcdaca3e825a350a22f0f0d9d9dd83e0accc901 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 19 May 2016 17:05:14 +0200 Subject: [PATCH] imag-view: Replace error module imports with macro helper --- imag-view/src/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imag-view/src/error.rs b/imag-view/src/error.rs index 64aa071d..077bb9f4 100644 --- a/imag-view/src/error.rs +++ b/imag-view/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!(ViewError, ViewErrorKind, StoreError => "Store error",