Skip to content

Commit 9484128

Browse files
committed
No need to explicitly flush
1 parent 9466dfe commit 9484128

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

postgres-tokio/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ impl Connection {
164164
result
165165
.into_future()
166166
.and_then(move |()| self.0.send(buf))
167-
.and_then(|s| s.flush())
168167
.map_err(ConnectError::Io)
169168
.map(move |s| (Connection(s), params))
170169
.boxed()

0 commit comments

Comments
 (0)