From 2490c77bbb5ca746a61b20f2d41f152f81208962 Mon Sep 17 00:00:00 2001 From: endernon Date: Sat, 11 Jan 2025 00:58:36 +0000 Subject: [PATCH] ACTUAL fmt fix --- src/encode.rs | 8 ++------ src/main.rs | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/encode.rs b/src/encode.rs index 7c828c1..ee4e2ed 100644 --- a/src/encode.rs +++ b/src/encode.rs @@ -157,9 +157,7 @@ impl FuncParams<'_> { Ok(()) } pub fn encode_iddata( - &mut self, - real_ids: &Vec, - idsmap: HashMap, + &mut self, real_ids: &Vec, idsmap: HashMap, ) -> Result<(), Errorfr> { let mut idvec = Vec::new(); for eachid in real_ids { @@ -247,9 +245,7 @@ impl FuncParams<'_> { Ok(()) } pub fn encode_shinydata( - &mut self, - shiny: &Shinyjson, - json_shiny: &Vec, + &mut self, shiny: &Shinyjson, json_shiny: &Vec, ) -> Result<(), Errorfr> { let mut realshinykey: u8; let _shinykey = &shiny.key; diff --git a/src/main.rs b/src/main.rs index 46a1b44..641e249 100644 --- a/src/main.rs +++ b/src/main.rs @@ -110,12 +110,8 @@ fn main() { } fn cook( - out: &mut Vec, - debug_mode: &bool, - ver: EncodingVersion, - json_config: &Jsonconfig, - idsmap: HashMap, - json_shiny: Vec, + out: &mut Vec, debug_mode: &bool, ver: EncodingVersion, json_config: &Jsonconfig, + idsmap: HashMap, json_shiny: Vec, ) -> Result { let mut fr_params = FuncParams { fr_out: out,