Remove a todo from trans_chan that doesn't appear necessary
This commit is contained in:
parent
3dcb79dac9
commit
cddd8094da
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue