Skip to content

Commit cddd809

Browse files
brsongraydon
authored andcommitted
Remove a todo from trans_chan that doesn't appear necessary
1 parent 3dcb79d commit cddd809

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/comp/middle/trans.rs

-2
Original file line numberDiff line numberDiff line change
@@ -4764,8 +4764,6 @@ fn trans_chan(@block_ctxt cx, @ast.expr e, ast.ann ann) -> result {
47644764
auto dropref = clean(bind drop_ty(_, chan_val, chan_ty));
47654765
find_scope_cx(bcx).cleanups += vec(dropref);
47664766

4767-
// TODO: Do I need to do anything with the port's refcount?
4768-
47694767
ret res(bcx, chan_val);
47704768
}
47714769

0 commit comments

Comments
 (0)