Skip to content

Commit e9e3d02

Browse files
committed
libcore: Fix Windows-only pattern in run.rs. rs=bustage
1 parent 13c7b97 commit e9e3d02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/run.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ fn with_envp<T>(env: &Option<~[(~str,~str)]>,
131131
// \0 to terminate.
132132
unsafe {
133133
match *env {
134-
Some(es) if !vec::is_empty(es) => {
134+
Some(ref es) if !vec::is_empty(*es) => {
135135
let mut blk : ~[u8] = ~[];
136-
for vec::each(es) |e| {
136+
for vec::each(*es) |e| {
137137
let (k,v) = *e;
138138
let t = fmt!("%s=%s", k, v);
139139
let mut v : ~[u8] = ::cast::reinterpret_cast(&t);

0 commit comments

Comments
 (0)