From 0315b93c04050909a769c75d735ed71ec8d52b98 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 19 May 2016 17:05:14 +0200 Subject: [PATCH] imag-store: Replace error module imports with macro helper --- imag-store/src/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imag-store/src/error.rs b/imag-store/src/error.rs index 472070f2..f68d5dc0 100644 --- a/imag-store/src/error.rs +++ b/imag-store/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!(StoreError, StoreErrorKind, BackendError => "Backend Error",