File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
tokio-postgres/tests/test Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,8 @@ async fn notices() {
577
577
. unwrap ( ) ;
578
578
579
579
let ( tx, rx) = mpsc:: unbounded ( ) ;
580
- let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
580
+ let stream =
581
+ stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
581
582
let connection = stream. forward ( tx) . map ( |r| r. unwrap ( ) ) ;
582
583
tokio:: spawn ( connection) ;
583
584
@@ -612,7 +613,8 @@ async fn notifications() {
612
613
let ( client, mut connection) = connect_raw ( "user=postgres" ) . await . unwrap ( ) ;
613
614
614
615
let ( tx, rx) = mpsc:: unbounded ( ) ;
615
- let stream = stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
616
+ let stream =
617
+ stream:: poll_fn ( move |cx| connection. poll_message ( cx) ) . map_err ( |e| panic ! ( "{}" , e) ) ;
616
618
let connection = stream. forward ( tx) . map ( |r| r. unwrap ( ) ) ;
617
619
tokio:: spawn ( connection) ;
618
620
You can’t perform that action at this time.
0 commit comments