about summary refs log tree commit diff
path: root/src/comp/middle
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-05-27 20:40:34 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-05-27 20:43:51 -0700
commit95e1aa18c1290d087516bd417590a181300cfc6b (patch)
tree43c650a1ebebfd6c73d89387a19dbe2bc00b55ff /src/comp/middle
parent9a24e4f78045bc32a9eec7c7486a9e0dc7b2b78f (diff)
downloadrust-95e1aa18c1290d087516bd417590a181300cfc6b.tar.gz
rust-95e1aa18c1290d087516bd417590a181300cfc6b.zip
change comment
Diffstat (limited to 'src/comp/middle')
-rw-r--r--src/comp/middle/typeck.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/middle/typeck.rs b/src/comp/middle/typeck.rs
index 0147806efc3..c5433a2b752 100644
--- a/src/comp/middle/typeck.rs
+++ b/src/comp/middle/typeck.rs
@@ -2178,9 +2178,9 @@ fn check_expr(&@stmt_ctxt scx, &@ast::expr expr) {
             alt (struct (scx.fcx.ccx.tcx,
                          expr_ty(scx.fcx.ccx.tcx, seq))) {
                 // FIXME: I include the check_for_or_each call in 
-                // each case because of a bug in typestate;
-                // once that bug is fixed, the call can be moved
-                // out of the alt expression
+                // each case because of a bug in typestate.
+                // The bug is fixed; once there's a new snapshot,
+                // the call can be moved out of the alt expression
                 case (ty::ty_vec(?vec_elt_ty)) {
                     auto elt_ty = vec_elt_ty.ty;
                     check_for_or_for_each(scx, decl, elt_ty, body, a.id);