From 14b84d0e2d508334a41d088fd516f43d7dd91490 Mon Sep 17 00:00:00 2001 From: schaeff Date: Mon, 16 Sep 2024 14:20:26 +0200 Subject: [PATCH] fix clippy and keep same API --- uni-stark/src/prover.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/uni-stark/src/prover.rs b/uni-stark/src/prover.rs index 5875a14c9..fb5a13cc2 100644 --- a/uni-stark/src/prover.rs +++ b/uni-stark/src/prover.rs @@ -40,7 +40,7 @@ pub fn prove< air: &A, challenger: &mut SC::Challenger, main_trace: RowMajorMatrix>, - public_values: &[Val], + public_values: &Vec>, ) -> Proof where SC: StarkGenericConfig, @@ -72,7 +72,9 @@ pub fn prove_with_key< challenger: &mut SC::Challenger, stage_0_trace: RowMajorMatrix>, next_stage_trace_callback: &C, - stage_0_public_values: &[Val], + #[allow(clippy::ptr_arg)] + // we do not use `&[Val]` in order to keep the same API + stage_0_public_values: &Vec>, ) -> Proof where SC: StarkGenericConfig,