Skip to content

Commit b2f1d51

Browse files
committed
cleanup
1 parent 9e25e47 commit b2f1d51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tokio-postgres/src/proto/handshake.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ where
9292
}
9393

9494
let mut buf = vec![];
95-
frontend::startup_message(params.iter().map(|e| (e.0, e.1)), &mut buf)
96-
.map_err(Error::encode)?;
95+
frontend::startup_message(params, &mut buf).map_err(Error::encode)?;
9796

9897
let stream = Framed::new(stream, PostgresCodec);
9998

0 commit comments

Comments
 (0)