There was an error while loading. Please reload this page.
rt::timer
1 parent bd15f54 commit ce838e8Copy full SHA for ce838e8
2 files changed
src/rt/mod.rs
@@ -6,9 +6,9 @@
6
//! to plug in other runtimes.
7
8
pub mod bounds;
9
-pub mod timer;
+mod timer;
10
11
-pub use timer::*;
+pub use timer::{Sleep, Timer};
12
13
/// An executor of futures.
14
///
src/rt/timer.rs
@@ -10,7 +10,7 @@
//!
//! use futures_util::Future;
//! use pin_project_lite::pin_project;
-//! use hyper::rt::timer::{Timer, Sleep};
+//! use hyper::rt::{Timer, Sleep};
15
//! #[derive(Clone, Debug)]
16
//! pub struct TokioTimer;
0 commit comments