Skip to content

Commit

Permalink
chore: fix a couple clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Mar 14, 2024
1 parent 717b77b commit 5c1c57d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions air/src/proof/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ mod tests {
fri_remainder_max_degree as usize,
);
let trace_info = TraceInfo::new_multi_segment(
main_width as usize,
[aux_width as usize],
[aux_rands as usize],
main_width,
[aux_width],
[aux_rands],
trace_length,
vec![],
);
Expand Down
4 changes: 2 additions & 2 deletions prover/src/trace/trace_lde/default/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn extend_trace_table() {

// build the trace polynomials, extended trace, and commitment using the default TraceLde impl
let (trace_lde, trace_polys) =
DefaultTraceLde::<BaseElement, Blake3>::new(&trace.info(), trace.main_segment(), &domain);
DefaultTraceLde::<BaseElement, Blake3>::new(trace.info(), trace.main_segment(), &domain);

// check the width and length of the extended trace
assert_eq!(2, trace_lde.main_segment_width());
Expand Down Expand Up @@ -73,7 +73,7 @@ fn commit_trace_table() {

// build the trace polynomials, extended trace, and commitment using the default TraceLde impl
let (trace_lde, _) =
DefaultTraceLde::<BaseElement, Blake3>::new(&trace.info(), trace.main_segment(), &domain);
DefaultTraceLde::<BaseElement, Blake3>::new(trace.info(), trace.main_segment(), &domain);

// build Merkle tree from trace rows
let mut hashed_states = Vec::new();
Expand Down

0 comments on commit 5c1c57d

Please sign in to comment.