From c5f7a1062f0e131e94f8b22a8eeb393aff4f5fc3 Mon Sep 17 00:00:00 2001
From: Cathie Yun <cathie@apple.com>
Date: Wed, 7 Feb 2024 10:45:52 -0800
Subject: [PATCH] Cargo fmt to fix check-stable tests

---
 src/linear_proof.rs  | 6 ++----
 tests/range_proof.rs | 5 ++++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/linear_proof.rs b/src/linear_proof.rs
index 883a74f3..320466f1 100644
--- a/src/linear_proof.rs
+++ b/src/linear_proof.rs
@@ -132,10 +132,8 @@ impl LinearProof {
                 // b_L = b_L + x_j * b_R
                 b_L[i] = b_L[i] + x_j * b_R[i];
                 // G_L = G_L + x_j * G_R
-                G_L[i] = RistrettoPoint::vartime_multiscalar_mul(
-                    &[Scalar::ONE, x_j],
-                    &[G_L[i], G_R[i]],
-                );
+                G_L[i] =
+                    RistrettoPoint::vartime_multiscalar_mul(&[Scalar::ONE, x_j], &[G_L[i], G_R[i]]);
             }
             a = a_L;
             b = b_L;
diff --git a/tests/range_proof.rs b/tests/range_proof.rs
index 2ec98d44..7df5e00c 100644
--- a/tests/range_proof.rs
+++ b/tests/range_proof.rs
@@ -75,7 +75,10 @@ fn deserialize_and_verify() {
             &hex::decode("30beef3b58fd2c18dde771d5c77e32f8dc01361e284aef517bce54a5c74c4665")
                 .unwrap(),
         ),
-    ]).iter().map(|res| res.unwrap()).collect();
+    ])
+    .iter()
+    .map(|res| res.unwrap())
+    .collect();
 
     let pc_gens = PedersenGens::default();
     let bp_gens = BulletproofGens::new(64, 8);