Skip to content

Commit fc10985

Browse files
committed
rustfmt
1 parent af78253 commit fc10985

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tokio-postgres/tests/test/main.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,8 @@ async fn notices() {
577577
.unwrap();
578578

579579
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));
581582
let connection = stream.forward(tx).map(|r| r.unwrap());
582583
tokio::spawn(connection);
583584

@@ -612,7 +613,8 @@ async fn notifications() {
612613
let (client, mut connection) = connect_raw("user=postgres").await.unwrap();
613614

614615
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));
616618
let connection = stream.forward(tx).map(|r| r.unwrap());
617619
tokio::spawn(connection);
618620

0 commit comments

Comments
 (0)