diff --git a/clippy_lints/src/is_unit_expr.rs b/clippy_lints/src/is_unit_expr.rs index 63bdaaa5231..d62436dd80e 100644 --- a/clippy_lints/src/is_unit_expr.rs +++ b/clippy_lints/src/is_unit_expr.rs @@ -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) {