about summary refs log tree commit diff
path: root/src/comp/middle
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-05-21 14:43:04 -0400
committerBrian Anderson <andersrb@gmail.com>2011-05-21 14:43:04 -0400
commit085fb1a2db2f8d77e215571151c323433a5c6381 (patch)
tree3c58862878ee0403ac162d75b4d408e469bbb5c1 /src/comp/middle
parentb62bf8cede38cf8a3baac83885436e13944b4950 (diff)
downloadrust-085fb1a2db2f8d77e215571151c323433a5c6381.tar.gz
rust-085fb1a2db2f8d77e215571151c323433a5c6381.zip
rustc: Remove outdated comment
Diffstat (limited to 'src/comp/middle')
-rw-r--r--src/comp/middle/trans.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs
index b562805e8d9..b29af974fee 100644
--- a/src/comp/middle/trans.rs
+++ b/src/comp/middle/trans.rs
@@ -3697,8 +3697,6 @@ fn trans_if(&@block_ctxt cx, &@ast::expr cond,
                 }
             }
 
-            // If we have an else expression, then the entire
-            // if expression can have a non-nil type.
             // FIXME: This isn't quite right, particularly re: dynamic types
             auto expr_ty = ty::ann_to_type(cx.fcx.lcx.ccx.tcx.node_types,
                                            ann);