Merge pull request #132 from Byron/fix-codegen

Use fully qualified `Result` type
This commit is contained in:
Erick Tryzelaar 2015-08-08 15:48:49 -07:00
commit 1d538bc59d

View File

@ -320,7 +320,7 @@ fn deserialize_newtype_struct(
type Value = $ty;
#[inline]
fn visit_newtype_struct<D>(&mut self, deserializer: &mut D) -> Result<Self::Value, D::Error>
fn visit_newtype_struct<D>(&mut self, deserializer: &mut D) -> ::std::result::Result<Self::Value, D::Error>
where D: ::serde::de::Deserializer,
{
let value = try!(::serde::de::Deserialize::deserialize(deserializer));