mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-04-18 18:45:09 +02:00
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:
parent
52572a9e81
commit
28a191a23a
1 changed files with 1 additions and 0 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Reference in a new issue