about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2021-09-02 09:21:16 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2021-09-02 09:21:16 +0100
commitfd5b40fd3ed3ff818c0cb7e4fcedb892d2c5cde3 (patch)
tree00fdeccbe7e2a90ef278614d83d4b08570b973a0
parentff8c0ef0e47639b32fdba062851a1367a9cc9ae2 (diff)
downloadrust-fd5b40fd3ed3ff818c0cb7e4fcedb892d2c5cde3.tar.gz
rust-fd5b40fd3ed3ff818c0cb7e4fcedb892d2c5cde3.zip
Remove TODO
-rw-r--r--compiler/rustc_mir_build/src/build/matches/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/matches/mod.rs b/compiler/rustc_mir_build/src/build/matches/mod.rs
index d13c4f5a5a0..a8bffc307cd 100644
--- a/compiler/rustc_mir_build/src/build/matches/mod.rs
+++ b/compiler/rustc_mir_build/src/build/matches/mod.rs
@@ -63,7 +63,6 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
                 this.lower_let_else(block, &this.thir[expr], pat, break_scope, variable_scope_span)
             }
             _ => {
-                // TODO `as_temp`?
                 let mutability = Mutability::Mut;
                 let place =
                     unpack!(block = this.as_temp(block, Some(temp_scope), expr, mutability));