Remove a todo from trans_chan that doesn't appear necessary

This commit is contained in:
Brian Anderson 2011-03-21 21:57:36 -04:00 committed by Graydon Hoare
parent 3dcb79dac9
commit cddd8094da

View File

@ -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);
}