Commit c2f9cddd authored by Michael Aaron Murphy's avatar Michael Aaron Murphy

chore: Updated dependencies

Removes the failure dependency that was never used
parent 1da4d1b9
Pipeline #8482 passed with stage
in 3 minutes and 3 seconds
This diff is collapsed.
......@@ -26,13 +26,12 @@ name = "calc"
path = "src/bin.rs"
[dependencies]
atty = "0.2.11"
clap = "2.33.0"
atty = "0.2"
clap = "2.33"
decimal = { git = "https://github.com/alkis/decimal.git", default-features = false }
failure = "0.1.5"
redox_liner = "0.5.1"
num = "0.2.0"
rand = "0.6.5"
redox_liner = "0.5"
num = "0.3"
rand = "0.7"
[lib]
name = "calc"
......
use num::bigint::ParseBigIntError;
use std::error::Error;
use std::fmt;
/// Represents a partial computation that can be captured as part of an
......@@ -117,7 +116,7 @@ impl fmt::Display for CalcError {
impl From<ParseBigIntError> for CalcError {
fn from(data: ParseBigIntError) -> CalcError {
CalcError::InvalidNumber(data.description().into())
CalcError::InvalidNumber(data.to_string().into())
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment