add mutability annotations to libcore
This commit is contained in:
@@ -93,7 +93,7 @@ fn spawn<A:send>(+blk: fn~() -> A) -> future<A> {
|
||||
|
||||
"];
|
||||
|
||||
let po = comm::port();
|
||||
let mut po = comm::port();
|
||||
let ch = comm::chan(po);
|
||||
task::spawn {||
|
||||
comm::send(ch, blk())
|
||||
|
||||
Reference in New Issue
Block a user