Removing unnecessary allow

This commit is contained in:
Donald Robertson 2018-05-29 09:29:48 +02:00
parent 05c1ccebaf
commit 2b36017bad

View file

@ -994,7 +994,6 @@ fn lint_or_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name:
/// Checks for the `EXPECT_FUN_CALL` lint.
fn lint_expect_fun_call(cx: &LateContext, expr: &hir::Expr, method_span: Span, name: &str, args: &[hir::Expr]) {
#[allow(too_many_arguments)]
fn check_general_case(
cx: &LateContext,
name: &str,