fix(ci): fmt and clippy goes green (#36)

This commit is contained in:
Evgeniy Abramov 2023-01-20 22:53:39 +04:00 committed by GitHub
parent ab7f9ec3a1
commit e226f90591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ impl WitnessCalculator {
for (i, value) in values.into_iter().enumerate() { for (i, value) in values.into_iter().enumerate() {
self.memory.write_fr(p_fr as usize, &value)?; self.memory.write_fr(p_fr as usize, &value)?;
self.instance self.instance
.set_signal(0, 0, (sig_offset + i) as u32, p_fr as u32)?; .set_signal(0, 0, (sig_offset + i) as u32, p_fr)?;
} }
} }
@ -341,7 +341,7 @@ mod runtime {
fn func() {} fn func() {}
Function::new_native(store, func) Function::new_native(store, func)
} }
// Circom 2.0 // Circom 2.0
pub fn write_buffer_message(store: &Store) -> Function { pub fn write_buffer_message(store: &Store) -> Function {
#[allow(unused)] #[allow(unused)]