Skip to content

Commit

Permalink
Remove map.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Aug 6, 2022
1 parent 4116d2b commit d74d9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew/src/virtual_dom/vlist.rs
Expand Up @@ -196,7 +196,7 @@ 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.map(|_| {}).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 d74d9f9

Please sign in to comment.