From 4d1f98a16200eddb743e82a5965c949640b5209f Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Wed, 25 May 2016 14:37:34 -0700 Subject: [PATCH] Fix a warning --- json/src/error.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/json/src/error.rs b/json/src/error.rs index b753ed570..510adc32d 100644 --- a/json/src/error.rs +++ b/json/src/error.rs @@ -87,8 +87,6 @@ pub enum ErrorCode { impl fmt::Debug for ErrorCode { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - use std::fmt::Debug; - match *self { ErrorCode::Custom(ref msg) => write!(f, "{}", msg), ErrorCode::InvalidType(ref ty) => write!(f, "invalid type: {:?}", ty),