From c8fca7b321d3b1b818548c75e3a475ebdfd0bd1d Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Tue, 12 Sep 2023 09:28:08 -0500 Subject: [PATCH] fix clippy --- packages/core/tests/fuzzing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/tests/fuzzing.rs b/packages/core/tests/fuzzing.rs index 39b5b152c..b847dc04e 100644 --- a/packages/core/tests/fuzzing.rs +++ b/packages/core/tests/fuzzing.rs @@ -179,7 +179,7 @@ fn create_random_dynamic_node(cx: &ScopeState, depth: usize) -> DynamicNode { node_paths: &[&[0]], attr_paths: &[], }, - bumpalo::collections::Vec::new_in(cx.bump()).into(), + bumpalo::collections::Vec::new_in(cx.bump()), cx.bump().alloc([cx.component( create_random_element, DepthProps { depth, root: false }, @@ -275,7 +275,7 @@ fn create_random_element(cx: Scope) -> Element { let node = VNode::new( None, template, - bumpalo::collections::Vec::new_in(cx.bump()).into(), + bumpalo::collections::Vec::new_in(cx.bump()), { let dynamic_nodes: Vec<_> = dynamic_node_types .iter()