std: Fix another windows problem with the unwrap_or_default rename
This commit is contained in:
parent
28eb49bfbf
commit
93683ae6da
@ -620,7 +620,7 @@ pub fn tmpdir() -> Path {
|
||||
getenv_nonempty("TMP").or(
|
||||
getenv_nonempty("TEMP").or(
|
||||
getenv_nonempty("USERPROFILE").or(
|
||||
getenv_nonempty("WINDIR")))).unwrap_or_default(Path("C:\\Windows"))
|
||||
getenv_nonempty("WINDIR")))).unwrap_or(Path("C:\\Windows"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user