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.
This commit is contained in:
Michael Wright 2018-04-02 06:57:14 +02:00
parent 89cb053146
commit fcabbeb251

View file

@ -887,6 +887,7 @@ fn lint_or_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name:
}
/// Check for `*or(foo())`.
#[allow(too_many_arguments)]
fn check_general_case(
cx: &LateContext,
name: &str,