File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ where
408408 . dial ( addr, opts)
409409 . map_err ( |err| err. map ( TransportUpgradeError :: Transport ) ) ?;
410410 Ok ( DialUpgradeFuture {
411- future : future ,
411+ future,
412412 upgrade : future:: Either :: Left ( Some ( self . upgrade . clone ( ) ) ) ,
413413 } )
414414 }
@@ -436,7 +436,7 @@ where
436436 this. inner . poll ( cx) . map ( |event| {
437437 event
438438 . map_upgrade ( move |future| ListenerUpgradeFuture {
439- future : future ,
439+ future,
440440 upgrade : future:: Either :: Left ( Some ( upgrade) ) ,
441441 } )
442442 . map_err ( TransportUpgradeError :: Transport )
Original file line number Diff line number Diff line change @@ -388,7 +388,8 @@ impl NetworkBehaviour for Behaviour {
388388 handler:: In :: EstablishCircuit {
389389 to_dial : send_back,
390390 dst_peer_id,
391- port_use : PortUse :: Reuse , // Will be updated when connection establishes
391+ port_use : PortUse :: Reuse , /* Will be updated when connection
392+ * establishes */
392393 } ,
393394 ) ;
394395
You can’t perform that action at this time.
0 commit comments