Skip to content

Commit

Permalink
Fix broken compilation for serde-serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
Andlon authored and sebcrozet committed Jan 14, 2023
1 parent 76da14e commit 72813ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/dimension.rs
Expand Up @@ -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))
}
}

Expand Down

0 comments on commit 72813ea

Please sign in to comment.