From 14a8902374ff03f5ca17a1c831f062ca048aad38 Mon Sep 17 00:00:00 2001 From: ASR-ASU <153063951+ASR-ASU@users.noreply.github.com> Date: Sat, 7 Sep 2024 15:44:25 +0200 Subject: [PATCH] Use of async_std::task::sleep instead of tokio::time::sleep (#2939) --- examples/clock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/clock.rs b/examples/clock.rs index 7bbcd305d..dc168a5ec 100644 --- a/examples/clock.rs +++ b/examples/clock.rs @@ -1,8 +1,8 @@ //! A simple little clock that updates the time every few milliseconds. //! +use async_std::task::sleep; use dioxus::prelude::*; -use tokio::time::sleep; use web_time::Instant; const STYLE: &str = asset!("./examples/assets/clock.css");