mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 04:48:01 +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]
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user