Fix brace indentation

This commit is contained in:
Zaki Manian 2017-09-02 14:20:22 -07:00
parent d6d78cdbbe
commit e7c5825378

View File

@ -57,7 +57,8 @@ impl EarlyLintPass for UnitExpr {
"remove the last semicolon",
"TODO".to_owned()
)
} }
}
}
}
if let ExprKind::Call( _, ref args) = expr.node{
for ref arg in args{
@ -70,7 +71,9 @@ impl EarlyLintPass for UnitExpr {
"remove the last semicolon",
"TODO".to_owned()
)
} } }
}
}
}
}
fn check_stmt(&mut self, cx: &EarlyContext, stmt: &Stmt) {