diff --git a/src/base/dimension.rs b/src/base/dimension.rs index cf290af5..71472783 100644 --- a/src/base/dimension.rs +++ b/src/base/dimension.rs @@ -51,7 +51,7 @@ impl<'de> Deserialize<'de> for Dynamic { where D: Deserializer<'de>, { - usize::deserialize(deserializer).map(|x| Dynamic(x)) + usize::deserialize(deserializer).map(|x| Dynamic::new(x)) } }