Use as_chunks in the change-mesh test (clippy)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
vangel76andClaude Sonnet 5.5 committed 2026-11-10 22:15:57 +01:00
1 parent b944a04cd2
commit b52fca296d
1 file changed
+1 -1
+1 -1
View File
@@ -639,7 +639,7 @@ fn changing_the_mesh_keeps_the_bake_setup_and_marks_the_project_changed() {
for uv in &plane.uvs {
low += &format!("vt {} {}\n", uv.x, 1.0 - uv.y);
}
for t in plane.indices.chunks_exact(3) {
for t in plane.indices.as_chunks::<3>().0 {
low += &format!("f {a}/{a} {b}/{b} {c}/{c}\n", a = t[0] + 1, b = t[1] + 1, c = t[2] + 1);
}
let low = temp_file("change_low.obj", &low);