Skip to content

Commit 87c26ba

Browse files
committed
doc(fs): fix broken links
1 parent db46544 commit 87c26ba

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

compio-fs/src/stdio/unix.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ use compio_buf::{BufResult, IoBuf, IoBufMut, IoVectoredBuf, IoVectoredBufMut};
44
use compio_driver::{AsRawFd, FromRawFd, RawFd};
55
use compio_io::{AsyncRead, AsyncWrite};
66

7+
#[cfg(doc)]
8+
use super::{stderr, stdin, stdout};
79
use crate::pipe::{Receiver, Sender};
810

911
/// A handle to the standard input stream of a process.

compio-fs/src/stdio/windows.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ use compio_io::{AsyncRead, AsyncWrite};
1515
use compio_runtime::Runtime;
1616
use windows_sys::Win32::System::IO::OVERLAPPED;
1717

18+
#[cfg(doc)]
19+
use super::{stderr, stdin, stdout};
20+
1821
struct StdRead<R: Read, B: IoBufMut> {
1922
reader: R,
2023
buffer: B,

0 commit comments

Comments
 (0)