From c6a19c4a6301de3cc1b460acfa80c360ebe55faf Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Thu, 18 Jan 2024 17:23:20 -0700 Subject: [PATCH] Changed sleep_ms to sleep --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 42bd3b4..7eac028 100644 --- a/src/main.rs +++ b/src/main.rs @@ -248,7 +248,7 @@ fn on_score_change(notice: tm::Notice) -> Vec { } fn get_next_notice() -> tm::Notice { - thread::sleep_ms(1000); + thread::sleep(Duration::from_millis(1000)); return tm::Notice::default(); }