Use better variable names in some maybe_whole! calls.

This commit is contained in:
Nicholas Nethercote 2024-03-20 07:18:38 +11:00
parent 0de050bd6d
commit 095722214d
4 changed files with 5 additions and 5 deletions

View file

@ -250,7 +250,7 @@ impl<'a> Parser<'a> {
) -> PResult<'a, P<Ty>> {
let allow_qpath_recovery = recover_qpath == RecoverQPath::Yes;
maybe_recover_from_interpolated_ty_qpath!(self, allow_qpath_recovery);
maybe_whole!(self, NtTy, |x| x);
maybe_whole!(self, NtTy, |ty| ty);
let lo = self.token.span;
let mut impl_dyn_multi = false;