From 5c10dcbd7d68062908b6493505d5a4a5a86f1572 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sun, 1 Dec 2024 21:26:38 +0100 Subject: [PATCH] task: require Tasks to have Send --- src/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/task.rs b/src/task.rs index 2848897..365c02b 100644 --- a/src/task.rs +++ b/src/task.rs @@ -1,6 +1,6 @@ use core::fmt; -pub trait Task: core::fmt::Debug { +pub trait Task: Send { fn tick(&mut self) {} fn start(&mut self) {} fn stop(&mut self) {}