From b21714d11048cb0d47478e36aece2ae61f209308 Mon Sep 17 00:00:00 2001 From: jtnunley Date: Fri, 7 Apr 2023 10:03:27 -0700 Subject: [PATCH] Fix minor typo in example.rs --- examples/timeout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/timeout.rs b/examples/timeout.rs index 0706815..e7ae7b5 100644 --- a/examples/timeout.rs +++ b/examples/timeout.rs @@ -52,7 +52,7 @@ fn main() -> io::Result<()> { io::Result::Ok(false) }; - // Run a future that times out after 5 seconds. + // Run a future that times out after 1 second. let timeout_s = 1; let timeout = async move { Timer::after(std::time::Duration::from_secs(timeout_s)).await;