From e5d095d67e3926fa104ac495076fe9d4cd4f5562 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Tue, 31 Jan 2012 17:05:20 -0800 Subject: Change option::t to option Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming). --- src/libcore/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore/task.rs') diff --git a/src/libcore/task.rs b/src/libcore/task.rs index b5642515953..9bdc9fb006d 100644 --- a/src/libcore/task.rs +++ b/src/libcore/task.rs @@ -122,7 +122,7 @@ fn spawn(+f: fn~()) -> task { } fn spawn_inner(-f: fn~(), - notify: option>) -> task unsafe { + notify: option::t>) -> 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(); -- cgit 1.4.1-3-g733a5