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(); }