Fix formatting of 'juniper_subscriptions' crate
This commit is contained in:
parent
3cd4cbb0b8
commit
5b4f6fca39
1 changed files with 3 additions and 4 deletions
|
@ -187,8 +187,8 @@ where
|
||||||
ready_vec.push(None);
|
ready_vec.push(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
let stream = futures::stream::poll_fn(
|
let stream =
|
||||||
move |mut ctx| -> Poll<Option<GraphQLResponse<'a, S>>> {
|
futures::stream::poll_fn(move |mut ctx| -> Poll<Option<GraphQLResponse<'a, S>>> {
|
||||||
let mut obj_iterator = object.iter_mut();
|
let mut obj_iterator = object.iter_mut();
|
||||||
|
|
||||||
// Due to having to modify `ready_vec` contents (by-move pattern)
|
// Due to having to modify `ready_vec` contents (by-move pattern)
|
||||||
|
@ -246,8 +246,7 @@ where
|
||||||
} else {
|
} else {
|
||||||
Poll::Pending
|
Poll::Pending
|
||||||
}
|
}
|
||||||
},
|
});
|
||||||
);
|
|
||||||
|
|
||||||
Box::pin(stream)
|
Box::pin(stream)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue