Skip to content

Commit ee8d3a7

Browse files
committed
Fix clippy
1 parent 7eaac1c commit ee8d3a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

postgres/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ impl<R> CopyInFuture<R> {
133133
Ok(AsyncSink::Ready) => Ok(Async::Ready(())),
134134
Ok(AsyncSink::NotReady(pending)) => {
135135
self.pending = Some(pending);
136-
return Ok(Async::NotReady);
136+
Ok(Async::NotReady)
137137
}
138138
// the future's hung up on its end of the channel, so we'll wait for it to report an error
139139
Err(_) => {
140140
self.pending = Some(CopyData::Done);
141-
return Ok(Async::NotReady);
141+
Ok(Async::NotReady)
142142
}
143143
}
144144
}

0 commit comments

Comments
 (0)