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))
}
Err(mpsc::error::TryRecvError::Empty) => Ok(None),
Err(mpsc::error::TryRecvError::Disconnected) => {
return Err(self
.inner
.handle
.close_reason()
.unwrap_or(CommunicationError::StreamClosed));
}
Err(mpsc::error::TryRecvError::Disconnected) => Err(self
.inner
.handle
.close_reason()
.unwrap_or(CommunicationError::StreamClosed)),
},
Err(_) => Ok(None),
}