diff options
Diffstat (limited to 'src/libstd/task/spawn.rs')
| -rw-r--r-- | src/libstd/task/spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs index 6c1c28c9805..198fe596a89 100644 --- a/src/libstd/task/spawn.rs +++ b/src/libstd/task/spawn.rs @@ -139,7 +139,7 @@ pub fn spawn_raw(mut opts: TaskOpts, f: proc()) { let join_task = do Task::build_child(None) { debug!("running join task"); let thread_port = thread_port_cell.take(); - let thread: Thread = thread_port.recv(); + let thread: Thread<()> = thread_port.recv(); thread.join(); }; |
