day4: corrected bench fn name

This commit is contained in:
Ishan Jain 2023-12-05 10:23:26 +05:30
parent bf1364e85e
commit 9489b63769
Signed by: ishan
GPG Key ID: 0506DB2A1CC75C27

View File

@ -88,7 +88,7 @@ fn main() {
} }
#[bench] #[bench]
fn part1(b: &mut test::Bencher) { fn part2(b: &mut test::Bencher) {
b.iter(|| { b.iter(|| {
let v = process(INPUTS[1]); let v = process(INPUTS[1]);
test::black_box(v); test::black_box(v);