From 9489b63769fa2d89d50454fcf30f47cffe953c93 Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Tue, 5 Dec 2023 10:23:26 +0530 Subject: [PATCH] day4: corrected bench fn name --- src/day4/2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/day4/2.rs b/src/day4/2.rs index 9eded73..2e7bcda 100644 --- a/src/day4/2.rs +++ b/src/day4/2.rs @@ -88,7 +88,7 @@ fn main() { } #[bench] -fn part1(b: &mut test::Bencher) { +fn part2(b: &mut test::Bencher) { b.iter(|| { let v = process(INPUTS[1]); test::black_box(v);