From 234b3454efbb95bd544a4c31184a604d275ec49c Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Tue, 13 Oct 2026 00:07:17 -0400 Subject: [PATCH] Export: as_chunks in the float-audio oracle test (clippy manual_chunks) Follow-up to #1245. Co-Authored-By: Claude Opus 5.5 --- crates/export/src/settings_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/export/src/settings_tests.rs b/crates/export/src/settings_tests.rs index d0b7a86a..22be2d31 100644 --- a/crates/export/src/settings_tests.rs +++ b/crates/export/src/settings_tests.rs @@ -1182,7 +1182,7 @@ fn thirty_two_bit_audio_in_every_container() { .output() .unwrap(); assert!(out.status.success(), "{name}: {}", String::from_utf8_lossy(&out.stderr)); - out.stdout.chunks_exact(4).map(|b| f32::from_le_bytes(b.try_into().unwrap())).collect::>() + out.stdout.as_chunks::<4>().0.iter().map(|b| f32::from_le_bytes(*b)).collect::>() }; let reference = raw("f.wav"); assert_eq!(reference.len(), 24_000 * 2);