File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ extern crate postgres;
77use std:: error;
88use std:: error:: Error as _StdError;
99use std:: fmt;
10- use postgres:: { IntoConnectParams } ;
10+ use postgres:: IntoConnectParams ;
1111use postgres:: io:: NegotiateSsl ;
1212
1313/// Like `postgres::SslMode` except that it owns its `NegotiateSsl` instance.
@@ -90,8 +90,10 @@ impl PostgresConnectionManager {
9090 ///
9191 /// See `postgres::Connection::connect` for a description of the parameter
9292 /// types.
93- pub fn new < T : IntoConnectParams > ( params : T , ssl_mode : SslMode )
94- -> Result < PostgresConnectionManager , postgres:: error:: ConnectError > {
93+ pub fn new < T : IntoConnectParams >
94+ ( params : T ,
95+ ssl_mode : SslMode )
96+ -> Result < PostgresConnectionManager , postgres:: error:: ConnectError > {
9597 let params = match params. into_connect_params ( ) {
9698 Ok ( params) => params,
9799 Err ( err) => return Err ( postgres:: error:: ConnectError :: ConnectParams ( err) ) ,
You can’t perform that action at this time.
0 commit comments