Skip to content

Commit 085fb1a

Browse files
committed
rustc: Remove outdated comment
1 parent b62bf8c commit 085fb1a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/comp/middle/trans.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3697,8 +3697,6 @@ fn trans_if(&@block_ctxt cx, &@ast::expr cond,
36973697
}
36983698
}
36993699

3700-
// If we have an else expression, then the entire
3701-
// if expression can have a non-nil type.
37023700
// FIXME: This isn't quite right, particularly re: dynamic types
37033701
auto expr_ty = ty::ann_to_type(cx.fcx.lcx.ccx.tcx.node_types,
37043702
ann);

0 commit comments

Comments
 (0)