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 committed Nov 24, 2022
1 parent 5bc1dea commit 3931728
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 3931728

Please sign in to comment.