From 8ee6c3bdc8dcbbe0e858ac687133b7d421a09908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 29 May 2020 09:29:53 +0200 Subject: [PATCH] matrix-sdk: Don't require Send for the sync callback. --- matrix_sdk/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 880fed5e..e53d1619 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -856,7 +856,7 @@ impl Client { pub async fn sync_forever( &self, sync_settings: SyncSettings, - callback: impl Fn(sync_events::Response) -> C + Send, + callback: impl Fn(sync_events::Response) -> C, ) where C: Future, {