Skip to content

Commit e854f0b

Browse files
author
Roman S. Borschel
committed
More cleanup.
1 parent 4059895 commit e854f0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/network/peer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,9 +462,9 @@ where
462462
TMuxer::OutboundSubstream: Send,
463463
TMuxer::Substream: Send,
464464
THandler: IntoConnectionHandler<TConnInfo> + Send + 'static,
465-
THandler::Handler: ConnectionHandler<Substream = Substream<TMuxer>, InEvent = TInEvent, OutEvent = TOutEvent> + Send + 'static,
466-
<THandler::Handler as ConnectionHandler>::OutboundOpenInfo: Send + 'static, // TODO: shouldn't be necessary
467-
<THandler::Handler as ConnectionHandler>::Error: error::Error + Send + 'static,
465+
THandler::Handler: ConnectionHandler<Substream = Substream<TMuxer>, InEvent = TInEvent, OutEvent = TOutEvent> + Send,
466+
<THandler::Handler as ConnectionHandler>::OutboundOpenInfo: Send,
467+
<THandler::Handler as ConnectionHandler>::Error: error::Error + Send,
468468
TInEvent: Send + 'static,
469469
TOutEvent: Send + 'static,
470470
{

0 commit comments

Comments
 (0)