mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-07-04 17:57:21 +00:00
Fix #35 by not relying on the crate being import in the current module
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user