Skip to content

Commit 3cd4cbb

Browse files
committed
Fix lifetime mismatch in 'juniper_subscriptions' crate
1 parent f19d498 commit 3cd4cbb

File tree

1 file changed

+1
-1
lines changed
  • juniper_subscriptions/src

1 file changed

+1
-1
lines changed

juniper_subscriptions/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ where
188188
}
189189

190190
let stream = futures::stream::poll_fn(
191-
move |mut ctx| -> Poll<Option<GraphQLResponse<'static, S>>> {
191+
move |mut ctx| -> Poll<Option<GraphQLResponse<'a, S>>> {
192192
let mut obj_iterator = object.iter_mut();
193193

194194
// Due to having to modify `ready_vec` contents (by-move pattern)

0 commit comments

Comments
 (0)