about summary refs log tree commit diff
path: root/src/libcore/task.rs
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-01-31 17:05:20 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-01-31 17:05:20 -0800
commite5d095d67e3926fa104ac495076fe9d4cd4f5562 (patch)
tree07be94199b1062e4ba99be9c014178d26543a0aa /src/libcore/task.rs
parent1f795ff3b0c0cac31c1d9fd2406d0d53e774683a (diff)
downloadrust-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.rs2
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();