Skip to content

Commit 0bd00d9

Browse files
committed
rustfmt
1 parent 3e0411b commit 0bd00d9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/lib.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extern crate postgres;
77
use std::error;
88
use std::error::Error as _StdError;
99
use std::fmt;
10-
use postgres::{IntoConnectParams};
10+
use postgres::IntoConnectParams;
1111
use 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)),

0 commit comments

Comments
 (0)