Skip to content

Commit 0de50ab

Browse files
committed
Rustfmt
1 parent 1f80b78 commit 0de50ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

postgres-protocol/src/authentication/sasl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl ScramSha256 {
257257
return Err(io::Error::new(
258258
io::ErrorKind::Other,
259259
format!("SCRAM error: {}", e),
260-
))
260+
));
261261
}
262262
ServerFinalMessage::Verifier(verifier) => verifier,
263263
};

postgres/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use fallible_iterator::FallibleIterator;
22
use futures::{Async, Future, Poll, Stream};
33
use std::io::{self, Read};
4+
use tokio_postgres::tls::{MakeTlsConnect, TlsConnect};
45
use tokio_postgres::types::{ToSql, Type};
56
use tokio_postgres::Error;
67
#[cfg(feature = "runtime")]
7-
use tokio_postgres::{Socket};
8-
use tokio_postgres::tls::{MakeTlsConnect, TlsConnect};
8+
use tokio_postgres::Socket;
99

1010
#[cfg(feature = "runtime")]
1111
use crate::Config;

0 commit comments

Comments
 (0)