Formating
Some checks failed
CI / checks (push) Failing after 2m22s

This commit is contained in:
Alex Emmet 2026-07-15 01:59:11 +02:00
commit 3d757e00f2

View file

@ -1109,13 +1109,11 @@ impl Receiver {
Ok(Some(reader)) Ok(Some(reader))
} }
Err(mpsc::error::TryRecvError::Empty) => Ok(None), Err(mpsc::error::TryRecvError::Empty) => Ok(None),
Err(mpsc::error::TryRecvError::Disconnected) => { Err(mpsc::error::TryRecvError::Disconnected) => Err(self
return Err(self
.inner .inner
.handle .handle
.close_reason() .close_reason()
.unwrap_or(CommunicationError::StreamClosed)); .unwrap_or(CommunicationError::StreamClosed)),
}
}, },
Err(_) => Ok(None), Err(_) => Ok(None),
} }