@@ -1317,7 +1317,7 @@ impl Connection {
13171317 ) -> Result < RemoteHandle < ( ) > , std:: io:: Error > {
13181318 async fn spawn_router_and_get_handle (
13191319 config : HostConnectionConfig ,
1320- stream : ( impl AsyncRead + AsyncWrite + Send + ' static ) ,
1320+ stream : impl AsyncRead + AsyncWrite + Send + ' static ,
13211321 receiver : mpsc:: Receiver < Task > ,
13221322 error_sender : tokio:: sync:: oneshot:: Sender < ConnectionError > ,
13231323 orphan_notification_receiver : mpsc:: UnboundedReceiver < RequestId > ,
@@ -1402,7 +1402,7 @@ impl Connection {
14021402
14031403 async fn router (
14041404 config : HostConnectionConfig ,
1405- stream : ( impl AsyncRead + AsyncWrite ) ,
1405+ stream : impl AsyncRead + AsyncWrite ,
14061406 receiver : mpsc:: Receiver < Task > ,
14071407 error_sender : tokio:: sync:: oneshot:: Sender < ConnectionError > ,
14081408 orphan_notification_receiver : mpsc:: UnboundedReceiver < RequestId > ,
@@ -1468,7 +1468,7 @@ impl Connection {
14681468 }
14691469
14701470 async fn reader (
1471- mut read_half : ( impl AsyncRead + Unpin ) ,
1471+ mut read_half : impl AsyncRead + Unpin ,
14721472 handler_map : & StdMutex < ResponseHandlerMap > ,
14731473 event_sender : Option < mpsc:: Sender < Event > > ,
14741474 compression : Option < Compression > ,
@@ -1553,7 +1553,7 @@ impl Connection {
15531553 }
15541554
15551555 async fn writer (
1556- mut write_half : ( impl AsyncWrite + Unpin ) ,
1556+ mut write_half : impl AsyncWrite + Unpin ,
15571557 handler_map : & StdMutex < ResponseHandlerMap > ,
15581558 mut task_receiver : mpsc:: Receiver < Task > ,
15591559 write_coalescing_delay : Option < WriteCoalescingDelay > ,
0 commit comments