add mutability annotations to libcore

This commit is contained in:
Niko Matsakis
2012-03-06 20:48:40 -08:00
parent 674587cfe5
commit 713006c7b6
22 changed files with 204 additions and 198 deletions

View File

@@ -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())