Skip to content

Commit

Permalink
Replace use of a syn From impl
Browse files Browse the repository at this point in the history
The From impls may be going away in the next version of syn.
  • Loading branch information
dtolnay committed May 15, 2024
1 parent 3202a68 commit 48cc2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_derive/src/internals/receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl ReplaceReceiver<'_> {
self.visit_type_mut_impl(ty);
return;
};
*ty = self.self_ty(span).into();
*ty = Type::Path(self.self_ty(span));
}

// `Self::Assoc` -> `<Receiver>::Assoc`
Expand Down

0 comments on commit 48cc2a6

Please sign in to comment.