diff options
Diffstat (limited to 'src/librustc_lint/array_into_iter.rs')
| -rw-r--r-- | src/librustc_lint/array_into_iter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_lint/array_into_iter.rs b/src/librustc_lint/array_into_iter.rs index 82ac60be17c..31faad3368f 100644 --- a/src/librustc_lint/array_into_iter.rs +++ b/src/librustc_lint/array_into_iter.rs @@ -21,8 +21,8 @@ declare_lint_pass!( ArrayIntoIter => [ARRAY_INTO_ITER] ); -impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ArrayIntoIter { - fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx hir::Expr<'tcx>) { +impl<'tcx> LateLintPass<'tcx> for ArrayIntoIter { + fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'tcx>) { // We only care about method call expressions. if let hir::ExprKind::MethodCall(call, span, args, _) = &expr.kind { if call.ident.name != sym::into_iter { |
