Skip to content

Commit c102ae0

Browse files
committed
---
yaml --- r: 24287 b: refs/heads/master c: e48429a h: refs/heads/master i: 24285: 6e75768 24283: b9ad779 24279: 9de3b95 24271: 1fa948e 24255: 235abf4 v: v3
1 parent 9dacfcf commit c102ae0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9e6d3cf3c9634afeadb11ce1917e159b64c6395f
2+
refs/heads/master: e48429abaeb9f9de3f8f71b6267e8ce4ee775b8d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/vec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ impl<T: Copy> &[const T]: CopyableVector<T> {
15311531

15321532
trait ImmutableVector<T> {
15331533
pure fn view(start: uint, end: uint) -> &self/[T];
1534-
pure fn foldr<U: Copy>(z: U, p: fn(t: &T, +u: U) -> U) -> U;
1534+
pure fn foldr<U: Copy>(+z: U, p: fn(t: &T, +u: U) -> U) -> U;
15351535
pure fn map<U>(f: fn(t: &T) -> U) -> ~[U];
15361536
pure fn mapi<U>(f: fn(uint, t: &T) -> U) -> ~[U];
15371537
fn map_r<U>(f: fn(x: &T) -> U) -> ~[U];
@@ -1555,7 +1555,7 @@ impl<T> &[T]: ImmutableVector<T> {
15551555
}
15561556
/// Reduce a vector from right to left
15571557
#[inline]
1558-
pure fn foldr<U: Copy>(z: U, p: fn(t: &T, +u: U) -> U) -> U {
1558+
pure fn foldr<U: Copy>(+z: U, p: fn(t: &T, +u: U) -> U) -> U {
15591559
foldr(self, z, p)
15601560
}
15611561
/// Apply a function to each element of a vector and return the results

0 commit comments

Comments
 (0)