Преглед на файлове

Allow calling neg() in the sigma-rs generated code

Ian Goldberg преди 7 месеца
родител
ревизия
a9175aa83e
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      sigma_compiler_core/src/sigma/codegen.rs

+ 1 - 0
sigma_compiler_core/src/sigma/codegen.rs

@@ -733,6 +733,7 @@ impl<'a> CodeGen<'a> {
                 };
                 use sigma_compiler::rand::{CryptoRng, RngCore};
                 use sigma_compiler::group::ff::PrimeField;
+                use std::ops::Neg;
                 #dump_use
 
                 #group_types