Skip to content

Commit 93179b7

Browse files
committed
---
yaml --- r: 38092 b: refs/heads/try c: 907fa74 h: refs/heads/master v: v3
1 parent b9072db commit 93179b7

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5-
refs/heads/try: 6d4621d85fe7854d43f9f4208326b6fc9cd04d4d
5+
refs/heads/try: 907fa74e8b98aa325ddd45d7de5e47772c27b165
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/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/try/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)