From 22f5f06e5c0e9a08757907690637ec1597be5175 Mon Sep 17 00:00:00 2001 From: endernon Date: Tue, 14 Jan 2025 18:22:41 +0000 Subject: [PATCH] upper limit --- rustfmt.toml | 4 ++-- src/jsonstruct.rs | 10 +--------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/rustfmt.toml b/rustfmt.toml index a07bb31..a66c6c9 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,3 +1,3 @@ fn_params_layout = "Compressed" -attr_fn_like_width = 160 -max_width = 200 \ No newline at end of file +attr_fn_like_width = 210 +max_width = 220 \ No newline at end of file diff --git a/src/jsonstruct.rs b/src/jsonstruct.rs index 1c8d971..bcc2f04 100644 --- a/src/jsonstruct.rs +++ b/src/jsonstruct.rs @@ -16,15 +16,7 @@ pub struct Jsonconfig { pub item_type: ItemTypeDeser, // Crafted type for Crafted item types - #[serde( - alias = "craftedtype", - alias = "CRAFTED_TYPE", - alias = "CRAFTEDTYPE", - alias = "Crafted_Type", - alias = "Crafted_type", - alias = "CraftedType", - alias = "Craftedtype" - )] + #[serde(alias = "craftedtype", alias = "CRAFTED_TYPE", alias = "CRAFTEDTYPE", alias = "Crafted_Type", alias = "Crafted_type", alias = "CraftedType", alias = "Craftedtype")] pub crafted_type: Option, // name of item