cargo fmt
This commit is contained in:
@@ -56,7 +56,12 @@ impl EventSocket for TestEventSocket {
|
||||
type EventStream = BoxStream<'static, Result<SocketEvent, TestError>>;
|
||||
type UpdateStream = BoxStream<'static, Result<SocketUpdate, TestError>>;
|
||||
|
||||
async fn events(self) -> (Self::EventStream, impl Sink<SinkMessage, Error = Self::Error>) {
|
||||
async fn events(
|
||||
self,
|
||||
) -> (
|
||||
Self::EventStream,
|
||||
impl Sink<SinkMessage, Error = Self::Error>,
|
||||
) {
|
||||
(
|
||||
futures_util::stream::iter(self.events.into_iter().map(Ok)).boxed(),
|
||||
futures_util::sink::sink(),
|
||||
|
||||
Reference in New Issue
Block a user