Fix decimal build.

This commit is contained in:
Stephen Chung 2021-02-24 15:56:29 +08:00
parent 4ac05aee8b
commit 9d6ad2092c

View File

@ -116,7 +116,7 @@ mod logic_functions {
let result = result || type_id == TypeId::of::<f32>() || type_id == TypeId::of::<f64>();
#[cfg(feature = "decimal")]
let result = result || type_id_x == TypeId::of::<rust_decimal::Decimal>();
let result = result || type_id == TypeId::of::<rust_decimal::Decimal>();
result
}