소스 검색

fix clippy

Evan Almloff 1 년 전
부모
커밋
c8fca7b321
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/core/tests/fuzzing.rs

+ 2 - 2
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<DepthProps>) -> 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()