From a36d247c352713d1a3a578e430abe4e404157316 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 31 Jan 2024 07:37:26 -0800 Subject: [PATCH] Fix warnings in `valence_entity` build script --- crates/valence_entity/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/valence_entity/build.rs b/crates/valence_entity/build.rs index f8aa347b5..46c70ccb3 100644 --- a/crates/valence_entity/build.rs +++ b/crates/valence_entity/build.rs @@ -38,6 +38,7 @@ struct Attribute { #[derive(Deserialize, Clone, Debug)] #[serde(tag = "type", content = "default_value", rename_all = "snake_case")] +#[allow(dead_code)] enum Value { Byte(i8), Integer(i32),