Fix #35 by not relying on the crate being import in the current module
This commit is contained in:
parent
00287bd055
commit
9972478066
@ -54,7 +54,7 @@ pub fn expand_derive_serialize(
|
|||||||
#[automatically_derived]
|
#[automatically_derived]
|
||||||
impl $impl_generics ::serde::ser::Serialize for $serialize_ty $where_clause {
|
impl $impl_generics ::serde::ser::Serialize for $serialize_ty $where_clause {
|
||||||
fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error>
|
fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error>
|
||||||
where __S: serde::ser::Serializer,
|
where __S: ::serde::ser::Serializer,
|
||||||
{
|
{
|
||||||
$body
|
$body
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user