From c7919199a0f6d1ce0e3c33499d1b37f862c990e4 Mon Sep 17 00:00:00 2001 From: Keziah Biermann Date: Tue, 8 Dec 2020 17:29:30 +0100 Subject: [PATCH] Require `Send` for underlying types to fix https://github.com/KizzyCode/tiny_future/issues/1 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3e135b9..40a08c2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -162,7 +162,7 @@ impl Clone for Future { Future(self.0.clone()) } } -unsafe impl Send for Future {} +unsafe impl Send for Future {} unsafe impl Sync for Future {}