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 afabf4b commit c506bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/dimension.rs
Original file line number Diff line number Diff line change
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 c506bd5

Please sign in to comment.