Skip to content

Commit fcabbeb

Browse files
author
Michael Wright
committed
Fix clippy warning
Fix too_many_arguments on `check_general_case` by allowing it. I can't see a sensible way of grouping the parameters.
1 parent 89cb053 commit fcabbeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/methods.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,7 @@ fn lint_or_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name:
887887
}
888888

889889
/// Check for `*or(foo())`.
890+
#[allow(too_many_arguments)]
890891
fn check_general_case(
891892
cx: &LateContext,
892893
name: &str,

0 commit comments

Comments
 (0)