From a33e3ba5ffd571185b58b1154a8de9dc929d2723 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 11 Apr 2022 16:34:56 +0800 Subject: [PATCH] Fix build. --- src/api/type_names.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"