diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2012-09-07 13:11:15 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-08 14:22:16 -0700 |
| commit | 3e5815837594c3fdf2a67bc735a4b3de4009c798 (patch) | |
| tree | eafaf9c3d0cdab1a86f97d26528c150fa1ed7337 /src/libcore | |
| parent | 6d84d867360c99a8664118ff44c58c0f838a4cfc (diff) | |
core: most rebase cruft cleanup
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/task.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcore/task.rs b/src/libcore/task.rs index a0c7a61f29b..3bdfe152aec 100644 --- a/src/libcore/task.rs +++ b/src/libcore/task.rs @@ -1094,7 +1094,7 @@ struct AutoNotify { } } -fn AutoNotify(chan: Chan<Notification>) -> AutoNotify { +fn AutoNotify(+chan: Chan<Notification>) -> AutoNotify { AutoNotify { notify_chan: chan, failed: true // Un-set above when taskgroup successfully made. @@ -1667,6 +1667,7 @@ fn test_spawn_raw_simple() { fn test_spawn_raw_unsupervise() { let opts = { linked: false, + mut notify_chan: None, .. default_task_opts() }; do spawn_raw(opts) { @@ -1842,7 +1843,7 @@ fn test_spawn_raw_notify_success() { let (notify_ch, notify_po) = pipes::stream(); let opts = { - notify_chan: Some(move notify_ch) + notify_chan: Some(move notify_ch), .. default_task_opts() }; do spawn_raw(opts) |move task_ch| { |
