Skip to content

Commit fa9a0a1

Browse files
authored
chore: cover one more syn::generics::TypeParamBound as per syntax change (#316)
1 parent b416d11 commit fa9a0a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

borsh-derive/src/internals/generics.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ impl FindTyParams {
259259
)]
260260
match bound {
261261
TypeParamBound::Trait(bound) => self.visit_path(&bound.path),
262-
TypeParamBound::Lifetime(_) | TypeParamBound::Verbatim(_) => {}
262+
TypeParamBound::Lifetime(_)
263+
| TypeParamBound::Verbatim(_)
264+
| TypeParamBound::PreciseCapture(_) => {}
263265
_ => {}
264266
}
265267
}

0 commit comments

Comments
 (0)