Skip to content

Commit 89544e9

Browse files
committed
Fix errors.
1 parent 6ef7ee3 commit 89544e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/std/src/os/fd/raw.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ use crate::io;
77
use crate::os::raw;
88
#[cfg(unix)]
99
use crate::os::unix::io::OwnedFd;
10-
#[all(cfg(doc), unix)]
10+
#[cfg(all(doc, unix))]
1111
use crate::os::unix::io::{AsFd, FromFd, IntoFd};
12-
#[all(cfg(doc), target_os = "wasi")]
12+
#[cfg(all(doc, target_os = "wasi"))]
1313
use crate::os::unix::io::{AsFd, FromFd, IntoFd};
1414
#[cfg(target_os = "wasi")]
1515
use crate::os::wasi::io::OwnedFd;

library/std/src/os/windows/io/raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use crate::fs;
66
use crate::io;
77
use crate::net;
8-
#[all(cfg(doc), unix)]
8+
#[cfg(doc)]
99
use crate::os::windows::io::{AsHandle, AsSocket, FromHandle, FromSocket, IntoHandle, IntoSocket};
1010
use crate::os::windows::io::{OwnedHandle, OwnedSocket};
1111
use crate::os::windows::raw;

0 commit comments

Comments
 (0)