From 40e9d818195824749293dff3afcfdd5c1432adbe Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Sun, 16 Aug 2026 11:00:02 -0700 Subject: lint --- src/renderer/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/renderer/mod.rs') diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 1ce461b..5231bc3 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -376,8 +376,7 @@ impl RendererState { ); // write the chunk textures - let mut chunk_buffer: [u8; (CELLS_IN_CHUNK * 4) as usize] = - [0; (CELLS_IN_CHUNK * 4) as usize]; + let mut chunk_buffer: [u8; CELLS_IN_CHUNK * 4] = [0; (CELLS_IN_CHUNK * 4)]; { puffin::profile_scope!("Upload chunk textures"); -- cgit v1.3.1