Skip to content

Commit

Permalink
chore: clippy multiple bound
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Mar 5, 2024
1 parent d480965 commit 693e85c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions starkyx/src/chip/table/lookup/values/constraint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ use crate::chip::AirParameters;
use crate::math::prelude::*;

impl<T: EvalCubic, F: Field, E: CubicParameters<F>> LogLookupValues<T, F, E> {
pub(crate) fn eval<AP: CubicParser<E>>(&self, parser: &mut AP)
pub(crate) fn eval<AP>(&self, parser: &mut AP)
where
AP: CubicParser<E>,
AP: AirParser<Field = F>,
{
let beta = self.challenge.eval(parser);
Expand All @@ -27,8 +28,9 @@ impl<T: EvalCubic, F: Field, E: CubicParameters<F>> LogLookupValues<T, F, E> {
);
}

pub(crate) fn eval_global<AP: CubicParser<E>>(&self, parser: &mut AP)
pub(crate) fn eval_global<AP>(&self, parser: &mut AP)
where
AP: CubicParser<E>,
AP: AirParser<Field = F>,
{
let beta = self.challenge.eval(parser);
Expand Down
3 changes: 2 additions & 1 deletion starkyx/src/plonky2/stark/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ pub(crate) mod tests {

/// Generate the proof and verify as a stark
pub(crate) fn test_starky<
A: 'static + Debug + Send + Sync,
A,
T,
F: RichField + Extendable<D>,
C: CurtaConfig<D, F = F, FE = F::Extension>,
Expand All @@ -183,6 +183,7 @@ pub(crate) mod tests {
trace_generator: &T,
public_inputs: &[F],
) where
A: 'static + Debug + Send + Sync,
A: StarkyAir<F, D>,
T: TraceGenerator<F, A>,
T::Error: Into<anyhow::Error>,
Expand Down

0 comments on commit 693e85c

Please sign in to comment.