From 7ef173416abd65a849985a79ea19e168fe7d87d1 Mon Sep 17 00:00:00 2001 From: ice_iix Date: Thu, 2 Jul 2020 17:47:12 -0700 Subject: [PATCH] Suppress needless_range_loop in chunk loading for clarity -- it will always be 16, and this value is not from block_types, blocks_meta, blocks_add, but must be consistent with all variables and is part of the wire protocol --- src/world/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/world/mod.rs b/src/world/mod.rs index 7cdb72b..8abd699 100644 --- a/src/world/mod.rs +++ b/src/world/mod.rs @@ -801,6 +801,7 @@ impl World { ) } + #[allow(clippy::needless_range_loop)] fn load_uncompressed_chunk17( &mut self, x: i32,