Fix clippy

This commit is contained in:
Anthony Bullard 2025-01-08 15:37:03 -06:00
parent 3a6225c354
commit 9b9b6d39f3
No known key found for this signature in database
6 changed files with 10 additions and 11 deletions

View file

@ -233,6 +233,7 @@ fn loc_term<'a>() -> impl Parser<'a, Loc<Expr<'a>>, EExpr<'a>> {
),
zero_or_more(pnc_args()),
),
#[allow(clippy::type_complexity)]
|arena,
(expr, arg_locs_with_suffixes_vec): (
Loc<Expr<'a>>,

View file

@ -348,7 +348,7 @@ fn loc_ident_pattern_help<'a>(
byte(b')', EPattern::ParenEnd),
Pattern::SpaceBefore,
)),
|args| ArgType::PncArgs(args),
ArgType::PncArgs,
);
let whitespace_args =