Skip to content

Commit d8d18c4

Browse files
committed
docs
1 parent 8a3a15b commit d8d18c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/os/unix/io.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
//! Unix-specific I/O extensions.
22
3+
#[cfg(feature = "unstable")]
4+
use crate::task::Context;
5+
#[cfg(feature = "unstable")]
6+
use crate::io;
37

48
cfg_not_docs! {
59
pub use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
@@ -8,10 +12,6 @@ cfg_not_docs! {
812
use mio::unix::EventedFd;
913
#[cfg(feature = "unstable")]
1014
use crate::net::driver::REACTOR;
11-
#[cfg(feature = "unstable")]
12-
use crate::task::Context;
13-
#[cfg(feature = "unstable")]
14-
use crate::io;
1515

1616
/// Registers an I/O handle so that the current task gets woken up when it becomes ready.
1717
#[cfg(feature = "unstable")]

0 commit comments

Comments
 (0)