File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1080,6 +1080,7 @@ pub fn aio_suspend(
1080
1080
/// This mode is useful for otherwise-synchronous programs that want to execute
1081
1081
/// a handful of I/O operations in parallel.
1082
1082
/// ```
1083
+ /// # #![allow(deprecated)]
1083
1084
/// # use std::os::unix::io::AsRawFd;
1084
1085
/// # use nix::sys::aio::*;
1085
1086
/// # use nix::sys::signal::SigevNotify;
@@ -1104,6 +1105,7 @@ pub fn aio_suspend(
1104
1105
/// technique for reducing overall context-switch overhead, especially when
1105
1106
/// combined with kqueue.
1106
1107
/// ```
1108
+ /// # #![allow(deprecated)]
1107
1109
/// # use std::os::unix::io::AsRawFd;
1108
1110
/// # use std::thread;
1109
1111
/// # use std::time;
@@ -1137,6 +1139,7 @@ pub fn aio_suspend(
1137
1139
/// In that case, you must check the status of each individual operation, and
1138
1140
/// possibly resubmit some.
1139
1141
/// ```
1142
+ /// # #![allow(deprecated)]
1140
1143
/// # use libc::c_int;
1141
1144
/// # use std::os::unix::io::AsRawFd;
1142
1145
/// # use std::sync::atomic::{AtomicBool, Ordering};
You can’t perform that action at this time.
0 commit comments