diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-01-31 17:05:20 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-01-31 17:05:20 -0800 |
| commit | e5d095d67e3926fa104ac495076fe9d4cd4f5562 (patch) | |
| tree | 07be94199b1062e4ba99be9c014178d26543a0aa /src/libcore/task.rs | |
| parent | 1f795ff3b0c0cac31c1d9fd2406d0d53e774683a (diff) | |
| download | rust-e5d095d67e3926fa104ac495076fe9d4cd4f5562.tar.gz rust-e5d095d67e3926fa104ac495076fe9d4cd4f5562.zip | |
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).
Diffstat (limited to 'src/libcore/task.rs')
| -rw-r--r-- | src/libcore/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<comm::chan<task_notification>>) -> task unsafe { + notify: option::t<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(); |
