Skip to content

Commit

Permalink
remove unneeded io::Error From impl
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jun 4, 2020
1 parent ee8c6cd commit 43d69c1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/kv/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,4 @@ mod std_support {
Error::boxed(err)
}
}

impl From<Error> for io::Error {
fn from(err: Error) -> Self {
io::Error::new(io::ErrorKind::Other, err)
}
}
}

1 comment on commit 43d69c1

@tmccombs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Darn, rust-cli/env_logger#137 used this. I guess I can change it to do this conversion manually.

Please sign in to comment.