mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rustfmt (#3532)
This commit is contained in:
@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user