From 35a1da677100a9b9a6f3aadb4ef163d15cc05f11 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Sat, 27 Jun 2020 16:54:51 +0200 Subject: [PATCH] remove invalid unsafe --- src/sync/channel.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sync/channel.rs b/src/sync/channel.rs index 7d207f9..600f9ce 100644 --- a/src/sync/channel.rs +++ b/src/sync/channel.rs @@ -136,8 +136,6 @@ impl Sender { inner: Pin>> + 'a>>, } - unsafe impl Send for SendFuture<'_, T> {} - impl Unpin for SendFuture<'_, T> {} impl Future for SendFuture<'_, T> {