Skip to content

Commit a7cd279

Browse files
committed
---
yaml --- r: 34199 b: refs/heads/snap-stage3 c: 907fa74 h: refs/heads/master i: 34197: 679a9e0 34195: dca1d9f 34191: 4d32f4e v: v3
1 parent 7cd93c7 commit a7cd279

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 6d4621d85fe7854d43f9f4208326b6fc9cd04d4d
4+
refs/heads/snap-stage3: 907fa74e8b98aa325ddd45d7de5e47772c27b165
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/run-pass/iter-filter-to-vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
fn is_even(+x: uint) -> bool { (x % 2) == 0 }
11+
fn is_even(x: &uint) -> bool { (*x % 2) == 0 }
1212

1313
fn main() {
1414
assert [1, 3].filter_to_vec(is_even) == ~[];

branches/snap-stage3/src/test/run-pass/iter-map-to-vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
fn inc(+x: uint) -> uint { x + 1 }
11+
fn inc(x: &uint) -> uint { *x + 1 }
1212

1313
fn main() {
1414
assert [1, 3].map_to_vec(inc) == ~[2, 4];

0 commit comments

Comments
 (0)