Fix errors.

This commit is contained in:
Dan Gohman 2022-02-01 14:38:23 -08:00
parent 6ef7ee36c2
commit 89544e9001
2 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@
use crate::os::raw;
#[cfg(unix)]
use crate::os::unix::io::OwnedFd;
#[all(cfg(doc), unix)]
#[cfg(all(doc, unix))]
use crate::os::unix::io::{AsFd, FromFd, IntoFd};
#[all(cfg(doc), target_os = "wasi")]
#[cfg(all(doc, target_os = "wasi"))]
use crate::os::unix::io::{AsFd, FromFd, IntoFd};
#[cfg(target_os = "wasi")]
use crate::os::wasi::io::OwnedFd;

View File

@ -5,7 +5,7 @@
use crate::fs;
use crate::io;
use crate::net;
#[all(cfg(doc), unix)]
#[cfg(doc)]
use crate::os::windows::io::{AsHandle, AsSocket, FromHandle, FromSocket, IntoHandle, IntoSocket};
use crate::os::windows::io::{OwnedHandle, OwnedSocket};
use crate::os::windows::raw;