Ian Goldberg 4 달 전
부모
커밋
ab74c8a3e8
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      sigma_compiler_core/src/lib.rs

+ 1 - 2
sigma_compiler_core/src/lib.rs

@@ -244,7 +244,7 @@ pub fn sigma_compiler_core(
             quote! {}
         };
         let mut assert_statements = spec.statements.clone();
-        let mut statement_fixup = StatementFixup::new(&spec);
+        let mut statement_fixup = StatementFixup::new(spec);
         assert_statements
             .iter_mut()
             .for_each(|expr| statement_fixup.visit_expr_mut(expr));
@@ -302,5 +302,4 @@ pub fn sigma_compiler_core(
             #verify_func
         }
     }
-    .into()
 }