summaryrefslogtreecommitdiffstats
path: root/tokio/src/signal
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-10-26 08:02:49 -0700
committerGitHub <noreply@github.com>2019-10-26 08:02:49 -0700
commit987ba7373cf95c570bf23768c6021f7a7508286e (patch)
tree616c62a65cb6b0c7e4c3e31f92f01c8d4749b0c3 /tokio/src/signal
parent227533d456fe32e48ffcd3796f1e6c8f9318b230 (diff)
io: move into `tokio` crate (#1691)
A step towards collapsing Tokio sub crates into a single `tokio` crate (#1318). The `io` implementation is now provided by the main `tokio` crate. Functionality can be opted out of by using the various net related feature flags.
Diffstat (limited to 'tokio/src/signal')
-rw-r--r--tokio/src/signal/unix.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/signal/unix.rs b/tokio/src/signal/unix.rs
index e9f63af8..dfd8a85f 100644
--- a/tokio/src/signal/unix.rs
+++ b/tokio/src/signal/unix.rs
@@ -5,10 +5,10 @@
#![cfg(unix)]
-use super::registry::{globals, EventId, EventInfo, Globals, Init, Storage};
+use crate::io::AsyncRead;
use crate::net::util::PollEvented;
+use crate::signal::registry::{globals, EventId, EventInfo, Globals, Init, Storage};
-use tokio_io::AsyncRead;
use tokio_sync::mpsc::{channel, Receiver};
use futures_core::stream::Stream;