Fix build.

This commit is contained in:
Stephen Chung 2022-04-11 16:34:56 +08:00
parent 06608affc5
commit a33e3ba5ff

View File

@ -93,7 +93,7 @@ fn map_std_type_name(name: &str, shorthands: bool) -> &str {
"StepFloatRange" "StepFloatRange"
}; };
} }
#[cfg(not(feature = "no_float"))] #[cfg(feature = "decimal")]
if name == type_name::<crate::packages::iter_basic::decimal::StepDecimalRange>() { if name == type_name::<crate::packages::iter_basic::decimal::StepDecimalRange>() {
return if shorthands { return if shorthands {
"range" "range"