From f107c4f49b566bf9087e53d284fd919cddd91867 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Tue, 16 Mar 2021 13:37:50 +0100 Subject: [PATCH] timer: fix double newline in module docs (#3617) --- tokio/src/time/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tokio/src/time/mod.rs b/tokio/src/time/mod.rs index 140ab2712..277e4d5bd 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() {