From cddd8094da090bb5522aec3c0b344b8014d37d2d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 21 Mar 2011 21:57:36 -0400 Subject: Remove a todo from trans_chan that doesn't appear necessary --- src/comp/middle/trans.rs | 2 -- 1 file changed, 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); } -- cgit v1.2.3