Fix bug.
This commit is contained in:
parent
cba394d73c
commit
3cb66b7e23
@ -379,7 +379,7 @@ impl Dynamic {
|
|||||||
if TypeId::of::<T>() == TypeId::of::<crate::Map>() {
|
if TypeId::of::<T>() == TypeId::of::<crate::Map>() {
|
||||||
return matches!(self.0, Union::Map(..));
|
return matches!(self.0, Union::Map(..));
|
||||||
}
|
}
|
||||||
#[cfg(not(feature = "decimal"))]
|
#[cfg(feature = "decimal")]
|
||||||
if TypeId::of::<T>() == TypeId::of::<rust_decimal::Decimal>() {
|
if TypeId::of::<T>() == TypeId::of::<rust_decimal::Decimal>() {
|
||||||
return matches!(self.0, Union::Decimal(..));
|
return matches!(self.0, Union::Decimal(..));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user