From db613dc3afc7929de3ec963d661fc574141276db Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Wed, 15 Apr 2026 23:32:13 +0100 Subject: [PATCH] clippy: fix manual_option_zip lint https://rust-lang.github.io/rust-clippy/master/index.html#manual_option_zip --- tests/test_core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_core.rs b/tests/test_core.rs index cb2467cfb..adaa06e66 100644 --- a/tests/test_core.rs +++ b/tests/test_core.rs @@ -226,7 +226,7 @@ fn batching() { let pit = xs .iter() .cloned() - .batching(|it| it.next().and_then(|x| it.next().map(|y| (x, y)))); + .batching(|it| it.next_array::<2>().map(|[a, b]| (a, b))); it::assert_equal(pit, ys.iter().cloned()); }