]> git.lizzy.rs Git - rust.git/commitdiff
make tidy
authorScott A Carr <s.carr1024@gmail.com>
Tue, 9 Aug 2016 15:17:50 +0000 (08:17 -0700)
committerScott A Carr <s.carr1024@gmail.com>
Tue, 9 Aug 2016 15:17:50 +0000 (08:17 -0700)
src/librustc/mir/tcx.rs

index 2c60d82997fa4d122f83b13398e91cc49b219b0b..5ca60a70a7c8c9699c51f285738b78ae0bf6992b 100644 (file)
@@ -133,7 +133,7 @@ pub fn ty<'a, 'gcx>(&self, mir: &Mir<'tcx>, tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Lval
 }
 
 impl<'tcx> Rvalue<'tcx> {
-    pub fn ty<'a, 'gcx>(&self, mir: &Mir<'tcx>, tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Option<Ty<'tcx>> 
+    pub fn ty<'a, 'gcx>(&self, mir: &Mir<'tcx>, tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Option<Ty<'tcx>>
     {
         match self {
             &Rvalue::Use(ref operand) => Some(operand.ty(mir, tcx)),
@@ -207,7 +207,7 @@ pub fn ty<'a, 'gcx>(&self, mir: &Mir<'tcx>, tcx: TyCtxt<'a, 'gcx, 'tcx>) -> Ty<'
             &Operand::Consume(ref l) => l.ty(mir, tcx).to_ty(tcx),
             &Operand::Constant(ref c) => c.ty,
         }
-    }    
+    }
 }
 
 impl<'tcx> BinOp {
@@ -232,7 +232,7 @@ pub fn ty<'a, 'gcx>(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>,
                 tcx.types.bool
             }
         }
-    }  
+    }
 }
 
 impl BorrowKind {