Skip to content

Commit daf858b

Browse files
committed
Simplify WinError cfg
1 parent 473cfd8 commit daf858b

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/pal/windows

1 file changed

+1
-1
lines changed

library/std/src/sys/pal/windows/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
mod tests;
77

88
use super::api;
9-
#[cfg(any(not(target_vendor = "uwp"), target_vendor = "win7"))]
9+
#[cfg(not(target_vendor = "uwp"))]
1010
use super::api::WinError;
1111
use super::to_u16s;
1212
use crate::error::Error as StdError;

0 commit comments

Comments
 (0)