Skip to content
Myr

Replace use of a syn From impl

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The From impls may be going away in the next version of syn.

authored by David Tolnay · committed by David Tolnay · parent 3202a68 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:serde_derive/src/internals/receiver.rs+1 added-1 removed
82 unmodified lines
83 } else {84 self.visit_type_mut_impl(ty);85 return;86 };87 *ty = self.self_ty(span).into();87 *ty = Type::Path(self.self_ty(span));88 }8990 // `Self::Assoc` -> `<Receiver>::Assoc`91 fn visit_type_path_mut(&mut self, ty: &mut TypePath) {
201 unmodified lines