Skip to content

Commit b428b21

Browse files
committed
---
yaml --- r: 24112 b: refs/heads/master c: acab1cd h: refs/heads/master v: v3
1 parent 95bbb3a commit b428b21

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: 690525ed814d3a60560188d7d76e2727d6f22347
2+
refs/heads/master: acab1cd2ceff321b5e06cf914ad905b4b2545d63
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/os.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,8 @@ mod tests {
973973
setenv(~"USERPROFILE", ~"/home/PaloAlto");
974974
assert os::homedir() == Some(Path("/home/MountainView"));
975975

976-
option::iter(oldhome, |s| setenv(~"HOME", s));
977-
option::iter(olduserprofile,
976+
option::iter(&oldhome, |s| setenv(~"HOME", s));
977+
option::iter(&olduserprofile,
978978
|s| setenv(~"USERPROFILE", s));
979979
}
980980

0 commit comments

Comments
 (0)