diff options
author | Andrew Gallant <jamslam@gmail.com> | 2014-12-02 11:57:11 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2014-12-02 11:57:11 -0500 |
commit | 07b44f7eedccdeb02e7f4eaa61d1e3ae848db5fa (patch) | |
tree | 9b9b986bf41de64d202ce25fcba6fed1c5e1ab85 | |
parent | d824012f4633e97ca48e0a6d80f6ee5cf66d2d7e (diff) |
Fallout from namespaced enum variants.
-rw-r--r-- | Cargo.lock | 6 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ name = "xsv" version = "0.4.11" dependencies = [ "csv 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", - "docopt 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "docopt 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", "quickcheck 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "streaming-stats 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "tabwriter 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -16,7 +16,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "docopt" -version = "0.6.10" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -34,6 +34,6 @@ name = "tabwriter" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "docopt 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", + "docopt 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/src/main.rs b/src/main.rs index e3c6bec..28a241c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -185,7 +185,7 @@ impl FromError<docopt::Error> for CliError { impl FromError<csv::Error> for CliError { fn from_error(err: csv::Error) -> CliError { match err { - csv::Io(v) => FromError::from_error(v), + csv::Error::Io(v) => FromError::from_error(v), v => CliError::Csv(v), } } |