diff --git a/tokio/src/time/mod.rs b/tokio/src/time/mod.rs index 140ab2712c3..277e4d5bd40 100644 --- a/tokio/src/time/mod.rs +++ b/tokio/src/time/mod.rs @@ -24,10 +24,8 @@ //! Wait 100ms and print "100 ms have elapsed" //! //! ``` -//! use tokio::time::sleep; -//! //! use std::time::Duration; -//! +//! use tokio::time::sleep; //! //! #[tokio::main] //! async fn main() {