Skip to content

Commit 5b4f6fc

Browse files
committed
Fix formatting of 'juniper_subscriptions' crate
1 parent 3cd4cbb commit 5b4f6fc

File tree

1 file changed

+3
-4
lines changed
  • juniper_subscriptions/src

1 file changed

+3
-4
lines changed

juniper_subscriptions/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ where
187187
ready_vec.push(None);
188188
}
189189

190-
let stream = futures::stream::poll_fn(
191-
move |mut ctx| -> Poll<Option<GraphQLResponse<'a, S>>> {
190+
let stream =
191+
futures::stream::poll_fn(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)
@@ -246,8 +246,7 @@ where
246246
} else {
247247
Poll::Pending
248248
}
249-
},
250-
);
249+
});
251250

252251
Box::pin(stream)
253252
}

0 commit comments

Comments
 (0)