Skip to content

Commit

Permalink
Fix rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Aug 6, 2022
1 parent d74d9f9 commit d0ed690
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/yew/src/virtual_dom/vlist.rs
Expand Up @@ -196,7 +196,10 @@ mod feat_ssr {
let resolve_fur = if rest_children.len() <= 30 {
// 30 is selected by join_all to be deemed small.
let rest_child_furs = future::join_all(rest_child_furs);
async move { rest_child_furs.await; }.left_future()
async move {
rest_child_furs.await;
}
.left_future()
} else {
let mut rest_child_furs: FuturesUnordered<_> = rest_child_furs.collect();
async move { while rest_child_furs.next().await.is_some() {} }
Expand Down

0 comments on commit d0ed690

Please sign in to comment.