Skip to content

Commit a81940d

Browse files
committed
Fix some docs.
1 parent d358147 commit a81940d

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/driver/iocp/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub(crate) mod fs;
3232
pub(crate) mod net;
3333
pub(crate) mod op;
3434

35-
pub use windows_sys::Win32::Networking::WinSock::{
35+
pub(crate) use windows_sys::Win32::Networking::WinSock::{
3636
socklen_t, SOCKADDR_STORAGE as sockaddr_storage,
3737
};
3838

src/driver/iour/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ use io_uring::{
99
};
1010
use std::{cell::RefCell, io, marker::PhantomData, mem::MaybeUninit, time::Duration};
1111

12-
pub use libc::{sockaddr_storage, socklen_t};
12+
pub(crate) use libc::{sockaddr_storage, socklen_t};
13+
#[doc(no_inline)]
1314
pub use std::os::fd::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
1415

1516
pub(crate) mod fs;

src/named_pipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! [Windows named pipes](https://learn.microsoft.com/en-us/windows/win32/ipc/named-pipes).
22
//!
3-
//! The infrastructure of the code comes from [`tokio::net::windows`].
3+
//! The infrastructure of the code comes from tokio.
44
55
use crate::driver::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
66
use std::{

src/signal/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
pub mod windows;
1818

1919
#[cfg(target_os = "windows")]
20+
#[doc(no_inline)]
2021
pub use windows::ctrl_c;
2122

2223
#[cfg(target_os = "linux")]

0 commit comments

Comments
 (0)