From 22e015b8fd5805dcfbfde4308e79f4b82224be92 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 19 May 2016 17:05:14 +0200 Subject: [PATCH] libimagcounter: Replace error module imports with macro helper --- libimagcounter/src/error.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libimagcounter/src/error.rs b/libimagcounter/src/error.rs index f2e11eeb..d3858d33 100644 --- a/libimagcounter/src/error.rs +++ b/libimagcounter/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!(CounterError, CounterErrorKind, StoreReadError => "Store read error",