diff --git a/src/internal_macros.rs b/src/internal_macros.rs index 53ce2d60..188de28f 100644 --- a/src/internal_macros.rs +++ b/src/internal_macros.rs @@ -202,7 +202,7 @@ macro_rules! serde_string_impl { self.visit_str(v) } - fn visit_string(self, v: String) -> Result + fn visit_string(self, v: $crate::prelude::String) -> Result where E: $crate::serde::de::Error, { @@ -264,7 +264,7 @@ macro_rules! serde_struct_human_string_impl { self.visit_str(v) } - fn visit_string(self, v: String) -> Result + fn visit_string(self, v: $crate::prelude::String) -> Result where E: $crate::serde::de::Error, {