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

@ -97,7 +97,7 @@ fn format_expr_only(
},
loc_args,
) => {
fmt_apply(&loc_expr, loc_args.items, indent, buf);
fmt_apply(loc_expr, loc_args.items, indent, buf);
}
Expr::PncApply(loc_expr, loc_args) => {
fmt_pnc_apply(loc_expr, loc_args, indent, buf);

View file

@ -457,6 +457,7 @@ fn fmt_pattern_only(
}
}
#[allow(clippy::too_many_arguments)]
pub fn pattern_fmt_apply(
buf: &mut Buf<'_>,
func: Pattern<'_>,