From e854f0b204c18445b66a50c0f39819cabb67af60 Mon Sep 17 00:00:00 2001 From: "Roman S. Borschel" Date: Fri, 7 Feb 2020 11:56:20 +0100 Subject: [PATCH] More cleanup. --- core/src/network/peer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/network/peer.rs b/core/src/network/peer.rs index 7a8384f409b..1f03bc24b68 100644 --- a/core/src/network/peer.rs +++ b/core/src/network/peer.rs @@ -462,9 +462,9 @@ where TMuxer::OutboundSubstream: Send, TMuxer::Substream: Send, THandler: IntoConnectionHandler + Send + 'static, - THandler::Handler: ConnectionHandler, InEvent = TInEvent, OutEvent = TOutEvent> + Send + 'static, - ::OutboundOpenInfo: Send + 'static, // TODO: shouldn't be necessary - ::Error: error::Error + Send + 'static, + THandler::Handler: ConnectionHandler, InEvent = TInEvent, OutEvent = TOutEvent> + Send, + ::OutboundOpenInfo: Send, + ::Error: error::Error + Send, TInEvent: Send + 'static, TOutEvent: Send + 'static, {