Skip to content

Commit 4d1f98a

Browse files
committed
Fix a warning
1 parent 940a9db commit 4d1f98a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

json/src/error.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ pub enum ErrorCode {
8787

8888
impl fmt::Debug for ErrorCode {
8989
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
90-
use std::fmt::Debug;
91-
9290
match *self {
9391
ErrorCode::Custom(ref msg) => write!(f, "{}", msg),
9492
ErrorCode::InvalidType(ref ty) => write!(f, "invalid type: {:?}", ty),

0 commit comments

Comments
 (0)