diff options
Diffstat (limited to 'src/libstd/rt/test.rs')
| -rw-r--r-- | src/libstd/rt/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/test.rs b/src/libstd/rt/test.rs index 867d997e98d..943b76dd1a0 100644 --- a/src/libstd/rt/test.rs +++ b/src/libstd/rt/test.rs @@ -336,7 +336,7 @@ pub fn spawntask_try(f: proc()) -> Result<(),()> { } /// Spawn a new task in a new scheduler and return a thread handle. -pub fn spawntask_thread(f: proc()) -> Thread { +pub fn spawntask_thread(f: proc()) -> Thread<()> { let f = Cell::new(f); |
