Remove remaining references to option::t outside option itself

This commit is contained in:
Tim Chevalier
2012-02-01 16:49:36 -08:00
parent 4eb92d4177
commit 49cb3fc7df
4 changed files with 12 additions and 12 deletions

View File

@@ -122,7 +122,7 @@ fn spawn(+f: fn~()) -> task {
}
fn spawn_inner(-f: fn~(),
notify: option::t<comm::chan<task_notification>>) -> task unsafe {
notify: option<comm::chan<task_notification>>) -> task unsafe {
let closure: *rust_closure = unsafe::reinterpret_cast(ptr::addr_of(f));
#debug("spawn: closure={%x,%x}", (*closure).fnptr, (*closure).envptr);
let id = rustrt::new_task();