aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-03-21 21:57:36 -0400
committerGraydon Hoare <[email protected]>2011-03-22 08:04:49 -0700
commitcddd8094da090bb5522aec3c0b344b8014d37d2d (patch)
tree36aceebea9492eb3a6b2894040a515b804c5ebab /src
parentAdd a regression test for channels of nil, which happens to work in rustc, bu... (diff)
downloadrust-cddd8094da090bb5522aec3c0b344b8014d37d2d.tar.xz
rust-cddd8094da090bb5522aec3c0b344b8014d37d2d.zip
Remove a todo from trans_chan that doesn't appear necessary
Diffstat (limited to 'src')
-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 a95ebcab..b1deb1f1 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);
}