Fix broken compilation for serde-serialize
This commit is contained in:
parent
afabf4bad2
commit
c506bd577a
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user