Skip to content

Commit 3e58158

Browse files
olsonjefferybrson
authored andcommitted
core: most rebase cruft cleanup
1 parent 6d84d86 commit 3e58158

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libcore/task.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ struct AutoNotify {
10941094
}
10951095
}
10961096

1097-
fn AutoNotify(chan: Chan<Notification>) -> AutoNotify {
1097+
fn AutoNotify(+chan: Chan<Notification>) -> AutoNotify {
10981098
AutoNotify {
10991099
notify_chan: chan,
11001100
failed: true // Un-set above when taskgroup successfully made.
@@ -1667,6 +1667,7 @@ fn test_spawn_raw_simple() {
16671667
fn test_spawn_raw_unsupervise() {
16681668
let opts = {
16691669
linked: false,
1670+
mut notify_chan: None,
16701671
.. default_task_opts()
16711672
};
16721673
do spawn_raw(opts) {
@@ -1842,7 +1843,7 @@ fn test_spawn_raw_notify_success() {
18421843
let (notify_ch, notify_po) = pipes::stream();
18431844

18441845
let opts = {
1845-
notify_chan: Some(move notify_ch)
1846+
notify_chan: Some(move notify_ch),
18461847
.. default_task_opts()
18471848
};
18481849
do spawn_raw(opts) |move task_ch| {

0 commit comments

Comments
 (0)