This commit is contained in:
Noah Kennedy
2023-10-20 14:56:23 -05:00
parent ec801c9c5d
commit 0f9f229359
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ impl<T: AsRawFd> AsyncFd<T> {
/// [unstable]: crate#unstable-features
#[track_caller]
#[cfg(all(target_os = "linux", tokio_unstable))]
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)), doc(cfg(target_os = "linux")))]
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, target_os = "linux"))))]
pub fn with_epoll_flags(inner: T, flags: u32) -> io::Result<Self>
where
T: AsRawFd,
+1 -1
View File
@@ -251,7 +251,7 @@ impl TcpListener {
/// [unstable]: crate#unstable-features
#[track_caller]
#[cfg(all(target_os = "linux", tokio_unstable))]
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)), doc(cfg(target_os = "linux")))]
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, target_os = "linux"))))]
pub fn from_std_with_epoll_flags(
listener: net::TcpListener,
flags: u32,
+1 -1
View File
@@ -125,7 +125,7 @@ impl UnixListener {
/// [unstable]: crate#unstable-features
#[track_caller]
#[cfg(all(target_os = "linux", tokio_unstable))]
#[cfg_attr(docsrs, doc(cfg(tokio_unstable)), doc(cfg(target_os = "linux")))]
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, target_os = "linux"))))]
pub fn from_std_with_epoll_flags(
listener: net::UnixListener,
flags: u32,