Skip to content

Commit ce838e8

Browse files
committed
feat: make rt::timer private
1 parent bd15f54 commit ce838e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/rt/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//! to plug in other runtimes.
77
88
pub mod bounds;
9-
pub mod timer;
9+
mod timer;
1010

11-
pub use timer::*;
11+
pub use timer::{Sleep, Timer};
1212

1313
/// An executor of futures.
1414
///

src/rt/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//!
1111
//! use futures_util::Future;
1212
//! use pin_project_lite::pin_project;
13-
//! use hyper::rt::timer::{Timer, Sleep};
13+
//! use hyper::rt::{Timer, Sleep};
1414
//!
1515
//! #[derive(Clone, Debug)]
1616
//! pub struct TokioTimer;

0 commit comments

Comments
 (0)