mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 05:31:02 +00:00
Replace use of a syn From impl
The From impls may be going away in the next version of syn.
This commit is contained in:
@@ -84,7 +84,7 @@ impl ReplaceReceiver<'_> {
|
|||||||
self.visit_type_mut_impl(ty);
|
self.visit_type_mut_impl(ty);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
*ty = self.self_ty(span).into();
|
*ty = Type::Path(self.self_ty(span));
|
||||||
}
|
}
|
||||||
|
|
||||||
// `Self::Assoc` -> `<Receiver>::Assoc`
|
// `Self::Assoc` -> `<Receiver>::Assoc`
|
||||||
|
|||||||
Reference in New Issue
Block a user