Fix test_relay.rs

This commit is contained in:
Andrey Tkachenko 2021-09-22 16:53:21 +04:00
parent 79a4441bfd
commit 5ba6f1139d

View File

@ -160,7 +160,7 @@ impl SendUntypedReceiver for TestRelay {
impl ReciveUntypedReceiver for TestRelay {
type Stream = TestRelayRxStream;
fn event_stream(&self) -> Self::Stream {
fn event_stream(&self, _: Bus) -> Self::Stream {
let mut rx = self.srx.lock().take().unwrap();
Box::pin(futures::stream::poll_fn(move |cx| rx.poll_recv(cx)))