Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit a7e3610

Browse files
committed
fix doc test
1 parent d04a971 commit a7e3610

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

zkevm-circuits/src/test_util.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,12 @@ const NUM_BLINDING_ROWS: usize = 64;
7878
/// .unwrap();
7979
///
8080
/// CircuitTestBuilder::new_from_test_ctx(ctx)
81-
/// .block_modifier(Box::new(|block, chunk| chunk.fixed_param.max_evm_rows = (1 << 18) - 100))
82-
/// .run();
81+
/// .block_modifier(Box::new(|_block, chunk| {
82+
/// chunk
83+
/// .iter_mut()
84+
/// .for_each(|chunk| chunk.fixed_param.max_evm_rows = (1 << 18) - 100);
85+
/// }))
86+
/// .run()
8387
/// ```
8488
pub struct CircuitTestBuilder<const NACC: usize, const NTX: usize> {
8589
test_ctx: Option<TestContext<NACC, NTX>>,

0 commit comments

Comments
 (0)