Skip to content

Commit

Permalink
de
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajjon committed Dec 18, 2023
1 parent c1c2318 commit 3f73665
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vec_of/newtype_identified_vec_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ macro_rules! newtype_identified_vec {
}

paste::paste! {
impl<Element: identified_vec::Identifiable> serde::Serialize for [<Proxy $struct_name>]<Element>
impl<Element> serde::Serialize for [<Proxy $struct_name>]<Element>
where
Element: serde::Serialize + identified_vec::Identifiable + std::fmt::Debug + Clone,
{
Expand All @@ -89,10 +89,10 @@ macro_rules! newtype_identified_vec {
}

paste::paste! {
impl<'de, Element: identified_vec::Identifiable> serde::Deserialize<'de> for [<Proxy $struct_name>]<Element>
impl<'de, Element> serde::de::Deserialize<'de> for [<Proxy $struct_name>]<Element>
where
Element:
serde::Deserialize<'de> + identified_vec::Identifiable + std::fmt::Debug + Clone,
serde::de::Deserialize<'de> + identified_vec::Identifiable + std::fmt::Debug + Clone,
{
fn deserialize<D: serde::Deserializer<'de>>(
deserializer: D,
Expand Down

0 comments on commit 3f73665

Please sign in to comment.