Fix lifetime mismatch in 'juniper_subscriptions' crate
This commit is contained in:
parent
f19d498254
commit
3cd4cbb0b8
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ where
|
|||
}
|
||||
|
||||
let stream = futures::stream::poll_fn(
|
||||
move |mut ctx| -> Poll<Option<GraphQLResponse<'static, S>>> {
|
||||
move |mut ctx| -> Poll<Option<GraphQLResponse<'a, S>>> {
|
||||
let mut obj_iterator = object.iter_mut();
|
||||
|
||||
// Due to having to modify `ready_vec` contents (by-move pattern)
|
||||
|
|
Loading…
Reference in a new issue