diff --git a/serde_codegen/src/de.rs b/serde_codegen/src/de.rs index 8beb1b9e..c903e706 100644 --- a/serde_codegen/src/de.rs +++ b/serde_codegen/src/de.rs @@ -320,7 +320,7 @@ fn deserialize_newtype_struct( type Value = $ty; #[inline] - fn visit_newtype_struct(&mut self, deserializer: &mut D) -> Result + fn visit_newtype_struct(&mut self, deserializer: &mut D) -> ::std::result::Result where D: ::serde::de::Deserializer, { let value = try!(::serde::de::Deserialize::deserialize(deserializer));