Skip to content

Commit

Permalink
Relax trait bounds on serde impl for Complex
Browse files Browse the repository at this point in the history
Fixes: #118
  • Loading branch information
WalterSmuts committed Dec 5, 2023
1 parent a78ab81 commit 827fed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
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 827fed8

Please sign in to comment.