]> git.lizzy.rs Git - rust.git/commitdiff
Fix brace indentation
authorZaki Manian <zaki@manian.org>
Sat, 2 Sep 2017 21:20:22 +0000 (14:20 -0700)
committerZaki Manian <zaki@manian.org>
Sat, 2 Sep 2017 21:20:22 +0000 (14:20 -0700)
clippy_lints/src/is_unit_expr.rs

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