Result needs to be fully qualified

Without this:

```
error[E0244]: wrong number of type arguments
  --> src/api/accounts.rs:19:10
   |
19 | #[derive(Serialize, Deserialize, Debug)]
   |          ^^^^^^^^^^ expected 1 type arguments, found 2
```
This commit is contained in:
David Tolnay committed 2016-09-07 16:37:26 -07:00
1 parent e85ca8411e
commit 2212bfbf2c
2 files changed
+12 -7

No files matched your search

+1 -1
View File
@@ -636,7 +636,7 @@ fn wrap_serialize_with(
}
impl $wrapper_generics _serde::ser::Serialize for $wrapper_ty $where_clause {
fn serialize<__S>(&self, __s: &mut __S) -> Result<(), __S::Error>
fn serialize<__S>(&self, __s: &mut __S) -> ::std::result::Result<(), __S::Error>
where __S: _serde::ser::Serializer
{
$path(self.value, __s)