We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eaac1c commit ee8d3a7Copy full SHA for ee8d3a7
1 file changed
postgres/src/client.rs
@@ -133,12 +133,12 @@ impl<R> CopyInFuture<R> {
133
Ok(AsyncSink::Ready) => Ok(Async::Ready(())),
134
Ok(AsyncSink::NotReady(pending)) => {
135
self.pending = Some(pending);
136
- return Ok(Async::NotReady);
+ Ok(Async::NotReady)
137
}
138
// the future's hung up on its end of the channel, so we'll wait for it to report an error
139
Err(_) => {
140
self.pending = Some(CopyData::Done);
141
142
143
144
0 commit comments