about summary refs log tree commit diff
path: root/src/librustc_trans/trans/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_trans/trans/common.rs')
-rw-r--r--src/librustc_trans/trans/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans/trans/common.rs b/src/librustc_trans/trans/common.rs
index 5782b3987cb..392d320f166 100644
--- a/src/librustc_trans/trans/common.rs
+++ b/src/librustc_trans/trans/common.rs
@@ -515,7 +515,7 @@ impl<'a, 'tcx> FunctionContext<'a, 'tcx> {
                        -> Block<'a, 'tcx> {
         let out = self.new_id_block("join", id);
         let mut reachable = false;
-        for bcx in in_cxs.iter() {
+        for bcx in in_cxs {
             if !bcx.unreachable.get() {
                 build::Br(*bcx, out.llbb, DebugLoc::None);
                 reachable = true;