diff --git a/src/api/type_names.rs b/src/api/type_names.rs index 6b305272..ea76ffa4 100644 --- a/src/api/type_names.rs +++ b/src/api/type_names.rs @@ -93,7 +93,7 @@ fn map_std_type_name(name: &str, shorthands: bool) -> &str { "StepFloatRange" }; } - #[cfg(not(feature = "no_float"))] + #[cfg(feature = "decimal")] if name == type_name::() { return if shorthands { "range"