Skip to content

Commit f9ef0e8

Browse files
committed
Minor
1 parent bcdeb91 commit f9ef0e8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

circuit/src/builder/expression_builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ mod tests {
317317
use p3_field::Field;
318318

319319
use super::*;
320+
use crate::CircuitError;
320321

321322
#[test]
322323
fn test_new_builder_has_zero_constant() {

circuit/src/tables/runner.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,13 +444,13 @@ mod tests {
444444
inputs: Vec<ExprId>,
445445
}
446446

447-
impl X {
447+
impl XHint {
448448
pub fn new(a: ExprId, b: ExprId) -> Self {
449449
Self { inputs: vec![a, b] }
450450
}
451451
}
452452

453-
impl<F: Field> WitnessHintFiller<F> for X {
453+
impl<F: Field> WitnessHintFiller<F> for XHint {
454454
fn inputs(&self) -> &[ExprId] {
455455
&self.inputs
456456
}
@@ -482,7 +482,7 @@ mod tests {
482482

483483
let c37 = builder.add_const(BabyBear::from_u64(37));
484484
let c111 = builder.add_const(BabyBear::from_u64(111));
485-
let x_hint = X::new(c37, c111);
485+
let x_hint = XHint::new(c37, c111);
486486
let x = builder.alloc_witness_hints(x_hint, "x")[0];
487487

488488
let mul_result = builder.mul(c37, x);

0 commit comments

Comments
 (0)