mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
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:
parent
89cb053146
commit
fcabbeb251
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue