Skip to content

Commit f3102b6

Browse files
committed
---
yaml --- r: 29798 b: refs/heads/incoming c: 9c03446 h: refs/heads/master v: v3
1 parent 4786571 commit f3102b6

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: 20d622835abd5063bc97e526d8bc5c98e63d425f
9+
refs/heads/incoming: 9c034464fee35d526369c4eccb8ac32244c52411
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/test/run-pass/task-comm-12.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn test00() {
2020
}
2121

2222
// Try joining tasks that have already finished.
23-
future::get(option::unwrap(result));
23+
future::get(&option::unwrap(result));
2424

2525
debug!{"Joined task."};
2626
}

branches/incoming/src/test/run-pass/task-comm-3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn test00() {
5252
}
5353

5454
// Join spawned tasks...
55-
for results.each |r| { future::get(r); }
55+
for results.each |r| { future::get(&r); }
5656

5757
debug!{"Completed: Final number is: "};
5858
log(error, sum);

branches/incoming/src/test/run-pass/task-comm-9.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn test00() {
2727
i += 1;
2828
}
2929

30-
future::get(option::unwrap(result));
30+
future::get(&option::unwrap(result));
3131

3232
assert (sum == number_of_messages * (number_of_messages - 1) / 2);
3333
}

branches/incoming/src/test/run-pass/task-comm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn test00() {
5353
while i < number_of_messages { sum += recv(po); i = i + 1; }
5454
}
5555

56-
for results.each |r| { future::get(r); }
56+
for results.each |r| { future::get(&r); }
5757

5858
debug!{"Completed: Final number is: "};
5959
assert (sum ==
@@ -136,7 +136,7 @@ fn test06() {
136136
}
137137

138138

139-
for results.each |r| { future::get(r); }
139+
for results.each |r| { future::get(&r); }
140140
}
141141

142142

branches/incoming/src/test/run-pass/yield.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn main() {
1111
error!{"2"};
1212
yield();
1313
error!{"3"};
14-
future::get(option::unwrap(result));
14+
future::get(&option::unwrap(result));
1515
}
1616

1717
fn child() {

branches/incoming/src/test/run-pass/yield1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fn main() {
88
task::task().future_result(|+r| { result = some(r); }).spawn(child);
99
error!{"1"};
1010
yield();
11-
future::get(option::unwrap(result));
11+
future::get(&option::unwrap(result));
1212
}
1313

1414
fn child() { error!{"2"}; }

0 commit comments

Comments
 (0)