Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
fix clippy and keep same API
Browse files Browse the repository at this point in the history
  • Loading branch information
Schaeff committed Sep 16, 2024
1 parent 5055807 commit 14b84d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions uni-stark/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn prove<
air: &A,
challenger: &mut SC::Challenger,
main_trace: RowMajorMatrix<Val<SC>>,
public_values: &[Val<SC>],
public_values: &Vec<Val<SC>>,
) -> Proof<SC>
where
SC: StarkGenericConfig,
Expand Down Expand Up @@ -72,7 +72,9 @@ pub fn prove_with_key<
challenger: &mut SC::Challenger,
stage_0_trace: RowMajorMatrix<Val<SC>>,
next_stage_trace_callback: &C,
stage_0_public_values: &[Val<SC>],
#[allow(clippy::ptr_arg)]
// we do not use `&[Val<SC>]` in order to keep the same API
stage_0_public_values: &Vec<Val<SC>>,
) -> Proof<SC>
where
SC: StarkGenericConfig,
Expand Down

0 comments on commit 14b84d0

Please sign in to comment.