chore: rustfmt (#3532)

This commit is contained in:
Matthias Seitz
2023-07-02 12:51:43 +02:00
committed by GitHub
parent 419a35e9c9
commit 1c796f24fc
9 changed files with 28 additions and 17 deletions

View File

@ -533,7 +533,9 @@ where
match ready!(this.inner.as_mut().poll_flush(cx)) {
Err(err) => return Poll::Ready(Err(err.into())),
Ok(()) => {
let Some(message) = this.outgoing_messages.pop_front() else { return Poll::Ready(Ok(())) };
let Some(message) = this.outgoing_messages.pop_front() else {
return Poll::Ready(Ok(()))
};
if let Err(err) = this.inner.as_mut().start_send(message) {
return Poll::Ready(Err(err.into()))
}