Fix unresolved doc links.

This commit is contained in:
Dan Gohman 2022-02-01 14:37:15 -08:00
parent 8516895170
commit 6ef7ee36c2
2 changed files with 6 additions and 0 deletions

View File

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

View File

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