Skip to content

Commit

Permalink
Relax trait bounds on serde impl for Complex
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterSmuts authored and cuviper committed Feb 6, 2024
1 parent d46cf08 commit 329d8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -1508,7 +1508,7 @@ where
#[cfg(feature = "serde")]
impl<'de, T> serde::Deserialize<'de> for Complex<T>
where
T: serde::Deserialize<'de> + Num + Clone,
T: serde::Deserialize<'de>,
{
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
Expand Down

0 comments on commit 329d8a8

Please sign in to comment.