diff --git a/src/dev.rs b/src/dev.rs index bba8cc9d..5f0e8c1b 100644 --- a/src/dev.rs +++ b/src/dev.rs @@ -610,7 +610,8 @@ impl MockProver { row: i32, queries: &'a [(Column, Rotation)], cells: &'a [Vec], - ) -> impl Fn(usize, usize, Rotation) -> Value + 'a { + ) -> impl Fn(usize, usize, Rotation) -> Value + 'a + { move |index, _, _| { let (column, at) = &queries[index]; let resolved_row = (row + at.0) % n; @@ -623,7 +624,8 @@ impl MockProver { row: i32, queries: &'a [(Column, Rotation)], cells: &'a [Vec>], - ) -> impl Fn(usize, usize, Rotation) -> Value + 'a { + ) -> impl Fn(usize, usize, Rotation) -> Value + 'a + { move |index, _, _| { let (column, at) = &queries[index]; let resolved_row = (row + at.0) % n;