From 2b36017bada5f179d3b6d7b57df0559ba5eeb25b Mon Sep 17 00:00:00 2001 From: Donald Robertson Date: Tue, 29 May 2018 09:29:48 +0200 Subject: [PATCH] Removing unnecessary allow --- clippy_lints/src/methods.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/clippy_lints/src/methods.rs b/clippy_lints/src/methods.rs index 553198ae446..b3c4bad251b 100644 --- a/clippy_lints/src/methods.rs +++ b/clippy_lints/src/methods.rs @@ -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,