remove invalid unsafe

feat-new-channels
dignifiedquire 5 years ago
parent dc15533d3c
commit 35a1da6771

@ -136,8 +136,6 @@ impl<T> Sender<T> {
inner: Pin<Box<dyn Future<Output = Result<(), SendError<T>>> + 'a>>, inner: Pin<Box<dyn Future<Output = Result<(), SendError<T>>> + 'a>>,
} }
unsafe impl<T: Send> Send for SendFuture<'_, T> {}
impl<T> Unpin for SendFuture<'_, T> {} impl<T> Unpin for SendFuture<'_, T> {}
impl<T> Future for SendFuture<'_, T> { impl<T> Future for SendFuture<'_, T> {

Loading…
Cancel
Save