about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-03-21 21:57:36 -0400
committerGraydon Hoare <graydon@mozilla.com>2011-03-22 08:04:49 -0700
commitcddd8094da090bb5522aec3c0b344b8014d37d2d (patch)
tree36aceebea9492eb3a6b2894040a515b804c5ebab /src/comp
parent3dcb79dac91f0a53fecbf1c5340db6c54c5a2e71 (diff)
downloadrust-cddd8094da090bb5522aec3c0b344b8014d37d2d.tar.gz
rust-cddd8094da090bb5522aec3c0b344b8014d37d2d.zip
Remove a todo from trans_chan that doesn't appear necessary
Diffstat (limited to 'src/comp')
-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 a95ebcabfb0..b1deb1f185f 100644
--- a/src/comp/middle/trans.rs
+++ b/src/comp/middle/trans.rs
@@ -4764,8 +4764,6 @@ fn trans_chan(@block_ctxt cx, @ast.expr e, ast.ann ann) -> result {
     auto dropref = clean(bind drop_ty(_, chan_val, chan_ty));
     find_scope_cx(bcx).cleanups += vec(dropref);
 
-    // TODO: Do I need to do anything with the port's refcount?
-
     ret res(bcx, chan_val);
 }