From b328da2c71e998e539bdc65815061e88dd1e7081 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 14 Jun 2024 01:52:30 +0200 Subject: Fix `Send` requirements for Wasm targets --- runtime/src/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/src/task.rs') diff --git a/runtime/src/task.rs b/runtime/src/task.rs index ac28a4e7..f3ddbca1 100644 --- a/runtime/src/task.rs +++ b/runtime/src/task.rs @@ -52,7 +52,7 @@ impl Task { /// its output. pub fn widget(operation: impl widget::Operation + 'static) -> Task where - T: MaybeSend + 'static, + T: Send + 'static, { Self::channel(move |sender| { let operation = -- cgit