diff options
author | Andrew Gallant <jamslam@gmail.com> | 2015-01-20 16:43:47 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2015-01-20 16:43:47 -0500 |
commit | 191f3672ef4c535cbc0b76e8eabb99fe2a6b599c (patch) | |
tree | ca7d8e18743ce7e85d8f1d1e075c879ab5fc79ba /src/main.rs | |
parent | db47b39777f47a7ed5b644b77f7e3cc207ddc6e5 (diff) |
rustup
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 6ae1e06..3739b7a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -219,7 +219,7 @@ impl<'a> FromError<&'a str> for CliError { impl FromError<regex::Error> for CliError { fn from_error(err: regex::Error) -> CliError { - CliError::Other(err.to_string()) + CliError::Other(format!("{:?}", err)) } } |