diff options
| author | Scott A Carr <s.carr1024@gmail.com> | 2016-08-09 08:17:50 -0700 |
|---|---|---|
| committer | Scott A Carr <s.carr1024@gmail.com> | 2016-08-09 08:17:50 -0700 |
| commit | 969b2b86ad1e77229dddb739d7b4c180dae07a4b (patch) | |
| tree | bbf55d1298e0ebbf7d539cdf21baf07df36ce402 | |
| parent | 9f8093856dceb3e6bd740ab1238e132eddb203ca (diff) | |
| download | rust-969b2b86ad1e77229dddb739d7b4c180dae07a4b.tar.gz rust-969b2b86ad1e77229dddb739d7b4c180dae07a4b.zip | |
make tidy
| -rw-r--r-- | src/librustc/mir/tcx.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc/mir/tcx.rs b/src/librustc/mir/tcx.rs index 2c60d82997f..5ca60a70a7c 100644 --- a/src/librustc/mir/tcx.rs +++ b/src/librustc/mir/tcx.rs @@ -133,7 +133,7 @@ impl<'tcx> Lvalue<'tcx> { } 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 @@ impl<'tcx> Operand<'tcx> { &Operand::Consume(ref l) => l.ty(mir, tcx).to_ty(tcx), &Operand::Constant(ref c) => c.ty, } - } + } } impl<'tcx> BinOp { @@ -232,7 +232,7 @@ impl<'tcx> BinOp { tcx.types.bool } } - } + } } impl BorrowKind { |
