Skip to content

Commit 271d840

Browse files
committed
---
yaml --- r: 6751 b: refs/heads/master c: 1bf078f h: refs/heads/master i: 6749: 94d9fce 6747: f0356d1 6743: 73d28bc 6735: b547120 6719: 357fc22 v: v3
1 parent 2b8f2fa commit 271d840

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: d1bca753b8c5924272978a38cb08db6679f2cf0d
2+
refs/heads/master: 1bf078f988498ddbdbbfd5c58f850bce14518db6

trunk/src/cargo/cargo.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,9 @@ fn install_one_crate(c: cargo, _path: str, cf: str, _p: pkg) {
155155
name = str::slice(name, 0u, ri as uint);
156156
}
157157
log #fmt["Installing: %s", name];
158-
let old = vec::map(fs::list_dir("."),
159-
{|x| str::slice(x, 2u, str::byte_len(x))});
158+
let old = fs::list_dir(".");
160159
run::run_program("rustc", [name + ".rc"]);
161-
let new = vec::map(fs::list_dir("."),
162-
{|x| str::slice(x, 2u, str::byte_len(x))});
160+
let new = fs::list_dir(".");
163161
let created =
164162
vec::filter::<str>(new, { |n| !vec::member::<str>(n, old) });
165163
let exec_suffix = os::exec_suffix();

0 commit comments

Comments
 (0)