Fix lint name in comment too

This commit is contained in:
Bood Qian 2017-02-05 11:06:19 +08:00
parent 9ace6c7ffc
commit 4b4dc0a4d3

View File

@ -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 {