From 15f1009aa40a4abb0b134954edf9891837ad3690 Mon Sep 17 00:00:00 2001 From: sheagrief <3a.mad1earth4@gmail.com> Date: Sat, 21 Oct 2023 12:39:20 +0900 Subject: [PATCH] :rotating_light: Resolve formatting in r1cs-std caused by rustc update --- arkworks/r1cs-std/src/groups/curves/twisted_edwards/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arkworks/r1cs-std/src/groups/curves/twisted_edwards/mod.rs b/arkworks/r1cs-std/src/groups/curves/twisted_edwards/mod.rs index aed8f825..7ca0319a 100644 --- a/arkworks/r1cs-std/src/groups/curves/twisted_edwards/mod.rs +++ b/arkworks/r1cs-std/src/groups/curves/twisted_edwards/mod.rs @@ -276,7 +276,7 @@ where Ok(ge) => { let ge: TEAffine
= ge.into(); (Ok(ge.x), Ok(ge.y)) - } + }, _ => ( Err(SynthesisError::AssignmentMissing), Err(SynthesisError::AssignmentMissing), @@ -335,7 +335,7 @@ where .iter() .zip(segment_powers.borrow()) { - let base_power = base_power.borrow(); + let base_power = base_power; let mut acc_power = *base_power; let mut coords = vec![]; for _ in 0..4 { @@ -654,7 +654,7 @@ where ge.enforce_equal(&ge)?; Ok(ge) } - } + }, } } }