From 5b4f6fca391d38aef110fc5c4f67d4f5dcdedc69 Mon Sep 17 00:00:00 2001 From: tyranron Date: Tue, 23 Jun 2020 13:38:30 +0300 Subject: [PATCH] Fix formatting of 'juniper_subscriptions' crate --- juniper_subscriptions/src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/juniper_subscriptions/src/lib.rs b/juniper_subscriptions/src/lib.rs index 789a13a0..89a32f45 100644 --- a/juniper_subscriptions/src/lib.rs +++ b/juniper_subscriptions/src/lib.rs @@ -187,8 +187,8 @@ where ready_vec.push(None); } - let stream = futures::stream::poll_fn( - move |mut ctx| -> Poll>> { + let stream = + futures::stream::poll_fn(move |mut ctx| -> Poll>> { let mut obj_iterator = object.iter_mut(); // Due to having to modify `ready_vec` contents (by-move pattern) @@ -246,8 +246,7 @@ where } else { Poll::Pending } - }, - ); + }); Box::pin(stream) }