diff options
Diffstat (limited to 'dhall/src')
-rw-r--r-- | dhall/src/binary.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/binary.rs b/dhall/src/binary.rs index e8fcdab..8c5b902 100644 --- a/dhall/src/binary.rs +++ b/dhall/src/binary.rs @@ -34,7 +34,7 @@ fn cbor_value_to_dhall(data: &cbor::Value) -> Result<ParsedExpr, DecodeError> { }, }, U64(n) => Var(V(Label::from("_"), *n as usize)), - F64(x) => DoubleLit(*x), + F64(x) => DoubleLit((*x).into()), Bool(b) => BoolLit(*b), Array(vec) => match vec.as_slice() { [String(l), U64(n)] => { |