Skip to content

Commit

Permalink
All, not and.
Browse files Browse the repository at this point in the history
  • Loading branch information
smmalis37 committed Dec 18, 2023
1 parent 81841dc commit 5b31f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/windows/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ pub fn temp_dir() -> PathBuf {
super::fill_utf16_buf(|buf, sz| unsafe { c::GetTempPath2W(sz, buf) }, super::os2path).unwrap()
}

#[cfg(and(not(target_vendor = "uwp"), not(target_vendor = "win7")))]
#[cfg(all(not(target_vendor = "uwp"), not(target_vendor = "win7")))]
fn home_dir_crt() -> Option<PathBuf> {
unsafe {
// Defined in processthreadsapi.h.
Expand Down

0 comments on commit 5b31f9b

Please sign in to comment.