Skip to content

Commit

Permalink
Auto merge of #75 - erickt:fix-warning, r=erickt
Browse files Browse the repository at this point in the history
Fix a warning
  • Loading branch information
homu committed May 26, 2016
2 parents 940a9db + 4d1f98a commit 1558900
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions json/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1558900

Please sign in to comment.