From 1ddb7675ea4d5f643e32c5a25d634c0a536ee584 Mon Sep 17 00:00:00 2001 From: yuni Date: Fri, 13 Sep 2024 23:40:03 +0200 Subject: [PATCH] cargo fmt --- build.rs | 5 ++++- src/chat.rs | 6 +----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/build.rs b/build.rs index eb08d67..9bf945b 100644 --- a/build.rs +++ b/build.rs @@ -22,7 +22,10 @@ fn main() -> std::io::Result<()> { let file = File::create("src/data/scenes.in"); if let Ok(mut file) = file { write!(&file, "// THIS FILE IS AUTOGENERATED BY build.rs BASED ON DATA IN src/blender/scene_*.blend FILES!\n")?; - write!(&file, "// DO NOT MODIFY MANUALLY, CHANGES WILL BE OVERWRITTEN!\n")?; + write!( + &file, + "// DO NOT MODIFY MANUALLY, CHANGES WILL BE OVERWRITTEN!\n" + )?; write!(&file, "[\n")?; extract_scene(&mut file, "test", "src/blender/scene_test.blend")?; extract_scene(&mut file, "workshop", "src/blender/scene_workshop.blend")?; diff --git a/src/chat.rs b/src/chat.rs index a3f3321..d9a3fef 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -979,10 +979,6 @@ pub fn update_chat_variables( } else { 0 }; - vars.set_in_scope( - "$", - "chefhat", - wears_chefhat.to_string(), - ); + vars.set_in_scope("$", "chefhat", wears_chefhat.to_string()); } }