diff --git a/src/types/dynamic.rs b/src/types/dynamic.rs index b4deb26d..f95a2275 100644 --- a/src/types/dynamic.rs +++ b/src/types/dynamic.rs @@ -379,7 +379,7 @@ impl Dynamic { if TypeId::of::() == TypeId::of::() { return matches!(self.0, Union::Map(..)); } - #[cfg(not(feature = "decimal"))] + #[cfg(feature = "decimal")] if TypeId::of::() == TypeId::of::() { return matches!(self.0, Union::Decimal(..)); }