Fix #35 by not relying on the crate being import in the current module

This commit is contained in:
Erick Tryzelaar committed 2015-03-15 13:02:34 -07:00
1 parent 00287bd055
commit 9972478066
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ pub fn expand_derive_serialize(
#[automatically_derived]
impl $impl_generics ::serde::ser::Serialize for $serialize_ty $where_clause {
fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error>
where __S: serde::ser::Serializer,
where __S: ::serde::ser::Serializer,
{
$body
}