We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a3a15b commit d8d18c4Copy full SHA for d8d18c4
src/os/unix/io.rs
@@ -1,5 +1,9 @@
1
//! Unix-specific I/O extensions.
2
3
+#[cfg(feature = "unstable")]
4
+use crate::task::Context;
5
6
+use crate::io;
7
8
cfg_not_docs! {
9
pub use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
@@ -8,10 +12,6 @@ cfg_not_docs! {
12
use mio::unix::EventedFd;
13
#[cfg(feature = "unstable")]
10
14
use crate::net::driver::REACTOR;
11
- #[cfg(feature = "unstable")]
- use crate::task::Context;
- use crate::io;
15
16
/// Registers an I/O handle so that the current task gets woken up when it becomes ready.
17
0 commit comments