Skip to content

Commit 8492a02

Browse files
committed
Fix Windows breakage
1 parent 10612ee commit 8492a02

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
@@ -481,7 +481,7 @@ pub fn tmpdir() -> Path {
481481
#[allow(non_implicitly_copyable_typarams)]
482482
fn lookup() -> Path {
483483
option::get_default(
484-
&option::or(getenv_nonempty("TMP"),
484+
option::or(getenv_nonempty("TMP"),
485485
option::or(getenv_nonempty("TEMP"),
486486
option::or(getenv_nonempty("USERPROFILE"),
487487
getenv_nonempty("WINDIR")))),

0 commit comments

Comments
 (0)