]> git.lizzy.rs Git - rust.git/commitdiff
Fix tidy
authorJonas Schievink <jonasschievink@gmail.com>
Mon, 26 Sep 2016 21:00:23 +0000 (23:00 +0200)
committerJonas Schievink <jonasschievink@gmail.com>
Mon, 26 Sep 2016 21:00:23 +0000 (23:00 +0200)
src/librustc_mir/transform/promote_consts.rs

index 7834dbc6fb79faebabd8b9c14b94596555a0474a..9afc97d1e319a1f2523dc98f664f7d581bd50972 100644 (file)
@@ -82,7 +82,10 @@ struct TempCollector<'tcx> {
 }
 
 impl<'tcx> Visitor<'tcx> for TempCollector<'tcx> {
-    fn visit_lvalue(&mut self, lvalue: &Lvalue<'tcx>, context: LvalueContext<'tcx>, location: Location) {
+    fn visit_lvalue(&mut self,
+                    lvalue: &Lvalue<'tcx>,
+                    context: LvalueContext<'tcx>,
+                    location: Location) {
         self.super_lvalue(lvalue, context, location);
         if let Lvalue::Local(index) = *lvalue {
             // We're only interested in temporaries