Skip to content

Commit 48cc2a6

Browse files
committed
Replace use of a syn From impl
The From impls may be going away in the next version of syn.
1 parent 3202a68 commit 48cc2a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serde_derive/src/internals/receiver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl ReplaceReceiver<'_> {
8484
self.visit_type_mut_impl(ty);
8585
return;
8686
};
87-
*ty = self.self_ty(span).into();
87+
*ty = Type::Path(self.self_ty(span));
8888
}
8989

9090
// `Self::Assoc` -> `<Receiver>::Assoc`

0 commit comments

Comments
 (0)