From 28a191a23af16a6e82c62a4ac4a58051203ef900 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Thu, 9 Jan 2025 21:09:48 +0100
Subject: [PATCH] resource: ignore array size clippy warning

The const is used only once, so there is no reason not to inline it.
---
 crates/resource/src/legacy_block_types.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crates/resource/src/legacy_block_types.rs b/crates/resource/src/legacy_block_types.rs
index c027ac3..0c4814d 100644
--- a/crates/resource/src/legacy_block_types.rs
+++ b/crates/resource/src/legacy_block_types.rs
@@ -13,6 +13,7 @@ const DEF: &str = "air";
 const EMPTY: [&str; 16] = simple(DEF);
 
 /// Mapping from each numeric block type and damage/subtype ID to new string ID
+#[allow(clippy::large_const_arrays)]
 pub const LEGACY_BLOCK_TYPES: [[&str; 16]; 256] = [
 	/* 0 */
 	simple("air"),