From 4b4dc0a4d3cacf11baa0b4dd1207d13465261868 Mon Sep 17 00:00:00 2001 From: Bood Qian Date: Sun, 5 Feb 2017 11:06:19 +0800 Subject: [PATCH] Fix lint name in comment too --- clippy_lints/src/formatting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/formatting.rs b/clippy_lints/src/formatting.rs index 4eb7e1a4acd..f3374ccb5ea 100644 --- a/clippy_lints/src/formatting.rs +++ b/clippy_lints/src/formatting.rs @@ -149,7 +149,7 @@ fn check_else_if(cx: &EarlyContext, expr: &ast::Expr) { } } -/// Implementation of the `POSSIBLE_MISSING_COMMA_IN_ARRAY_FORMATTING` lint for array +/// Implementation of the `POSSIBLE_MISSING_COMMA` lint for array fn check_array(cx: &EarlyContext, expr: &ast::Expr) { if let ast::ExprKind::Array(ref array) = expr.node { for element in array {