Skip to content

Commit

Permalink
bump to latest byteorder crate
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Jul 31, 2016
1 parent b5811f0 commit 928df2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bench = false
doc = false

[dependencies]
byteorder = "0.3"
byteorder = "0.5"
rustc-serialize = "0.3"

[dev-dependencies]
Expand Down
11 changes: 0 additions & 11 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,3 @@ impl StdError for Error {
impl From<io::Error> for Error {
fn from(err: io::Error) -> Error { Error::Io(err) }
}

impl From<byteorder::Error> for Error {
fn from(err: byteorder::Error) -> Error {
match err {
byteorder::Error::Io(err) => From::from(err),
byteorder::Error::UnexpectedEOF => {
Error::Index(format!("Unexpected EOF when reading CSV index."))
}
}
}
}

0 comments on commit 928df2f

Please sign in to comment.