From 1a14d501cb21f456d3425756cc38fd3b002b1ccd Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 7 Apr 2023 10:14:06 -0700 Subject: [PATCH] Fix minor typo in example.rs (#40) --- 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;