File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1094,7 +1094,7 @@ struct AutoNotify {
1094
1094
}
1095
1095
}
1096
1096
1097
- fn AutoNotify ( chan: Chan <Notification >) -> AutoNotify {
1097
+ fn AutoNotify ( + chan: Chan <Notification >) -> AutoNotify {
1098
1098
AutoNotify {
1099
1099
notify_chan: chan,
1100
1100
failed: true // Un-set above when taskgroup successfully made.
@@ -1667,6 +1667,7 @@ fn test_spawn_raw_simple() {
1667
1667
fn test_spawn_raw_unsupervise( ) {
1668
1668
let opts = {
1669
1669
linked: false,
1670
+ mut notify_chan: None ,
1670
1671
.. default_task_opts( )
1671
1672
} ;
1672
1673
do spawn_raw( opts) {
@@ -1842,7 +1843,7 @@ fn test_spawn_raw_notify_success() {
1842
1843
let ( notify_ch, notify_po) = pipes:: stream( ) ;
1843
1844
1844
1845
let opts = {
1845
- notify_chan: Some ( move notify_ch)
1846
+ notify_chan: Some ( move notify_ch) ,
1846
1847
.. default_task_opts( )
1847
1848
} ;
1848
1849
do spawn_raw( opts) |move task_ch| {
You can’t perform that action at this time.
0 commit comments