We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e25e47 commit b2f1d51Copy full SHA for b2f1d51
1 file changed
tokio-postgres/src/proto/handshake.rs
@@ -92,8 +92,7 @@ where
92
}
93
94
let mut buf = vec![];
95
- frontend::startup_message(params.iter().map(|e| (e.0, e.1)), &mut buf)
96
- .map_err(Error::encode)?;
+ frontend::startup_message(params, &mut buf).map_err(Error::encode)?;
97
98
let stream = Framed::new(stream, PostgresCodec);
99
0 commit comments