Skip to content

Commit e902750

Browse files
committed
---
yaml --- r: 24206 b: refs/heads/master c: 52c3cf2 h: refs/heads/master v: v3
1 parent f397caa commit e902750

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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: 87a72567f05cdae035007e761f7bd08f049af216
2+
refs/heads/master: 52c3cf296b637d66d185c2304f15f65aa55bb484
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/cargo/cargo.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ fn install_uuid(c: &Cargo, wd: &Path, uuid: ~str) {
896896
let mut ps = ~[];
897897
for_each_package(c, |s, p| {
898898
if p.uuid == uuid {
899-
vec::push(ps, (s.name, copy *p));
899+
vec::push(&mut ps, (s.name, copy *p));
900900
}
901901
});
902902
if vec::len(ps) == 1u {
@@ -920,7 +920,7 @@ fn install_named(c: &Cargo, wd: &Path, name: ~str) {
920920
let mut ps = ~[];
921921
for_each_package(c, |s, p| {
922922
if p.name == name {
923-
vec::push(ps, (s.name, copy *p));
923+
vec::push(&mut ps, (s.name, copy *p));
924924
}
925925
});
926926
if vec::len(ps) == 1u {

trunk/src/fuzzer/fuzzer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ fn stash_ty_if(c: fn@(@ast::ty, test_mode)->bool,
124124
e: @ast::ty,
125125
tm: test_mode) {
126126
if c(e, tm) {
127-
es.push(e);
127+
es.push(*e);
128128
} else {/* now my indices are wrong :( */ }
129129
}
130130

0 commit comments

Comments
 (0)