Skip to content

Commit 5283ad4

Browse files
committed
Clean up workaround
1 parent b7fe6be commit 5283ad4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tokio-postgres/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,7 @@ where
168168
T: MakeTlsConnect<Socket>,
169169
{
170170
let config = config.parse::<Config>()?;
171-
// FIXME https://github.com/rust-lang/rust/issues/64391
172-
async move {
173-
config.connect(tls).await
174-
}.await
171+
return config.connect(tls).await;
175172
}
176173

177174
/// An asynchronous notification.

0 commit comments

Comments
 (0)