Skip to content

Commit a6fe5ef

Browse files
committed
core: Fix more windows bustage
1 parent 4e2899b commit a6fe5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ pub fn homedir() -> Option<Path> {
433433

434434
#[cfg(windows)]
435435
fn secondary() -> Option<Path> {
436-
do option::chain(&getenv(~"USERPROFILE")) |p| {
436+
do option::chain(getenv(~"USERPROFILE")) |p| {
437437
if !str::is_empty(p) {
438438
Some(Path(p))
439439
} else {

0 commit comments

Comments
 (0)