resource: ignore array size clippy warning

The const is used only once, so there is no reason not to inline it.
This commit is contained in:
Matthias Schiffer 2025-01-09 21:09:48 +01:00
parent 52572a9e81
commit 28a191a23a
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -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"),