Fix errors.
This commit is contained in:
parent
6ef7ee36c2
commit
89544e9001
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user