Skip to content

Commit

Permalink
chore: cover one more syn::generics::TypeParamBound as per syntax c…
Browse files Browse the repository at this point in the history
…hange (#316)
  • Loading branch information
dj8yfo authored Oct 28, 2024
1 parent b416d11 commit fa9a0a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion borsh-derive/src/internals/generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ impl FindTyParams {
)]
match bound {
TypeParamBound::Trait(bound) => self.visit_path(&bound.path),
TypeParamBound::Lifetime(_) | TypeParamBound::Verbatim(_) => {}
TypeParamBound::Lifetime(_)
| TypeParamBound::Verbatim(_)
| TypeParamBound::PreciseCapture(_) => {}
_ => {}
}
}
Expand Down

0 comments on commit fa9a0a1

Please sign in to comment.