Skip to content

Commit bf3a668

Browse files
committed
Clippy.
1 parent 5a1abec commit bf3a668

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/processing_render/src/render/primitive

‎crates/processing_render/src/render/primitive/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ pub fn bake_transform(
255255
&& let Some(Indices::U32(indices)) = mesh.indices_mut()
256256
{
257257
let first_index = first_index.min(indices.len());
258-
for triangle in indices[first_index..].chunks_exact_mut(3) {
258+
for triangle in indices[first_index..].as_chunks_mut::<3>().0 {
259259
triangle.swap(1, 2);
260260
}
261261
}

0 commit comments

Comments
 (0)