ACTUAL fmt fix

This commit is contained in:
endernon 2025-01-11 00:58:36 +00:00
parent 9066e96a7c
commit 2490c77bbb
2 changed files with 4 additions and 12 deletions

View file

@ -157,9 +157,7 @@ impl FuncParams<'_> {
Ok(()) Ok(())
} }
pub fn encode_iddata( pub fn encode_iddata(
&mut self, &mut self, real_ids: &Vec<Identificationer>, idsmap: HashMap<String, u8>,
real_ids: &Vec<Identificationer>,
idsmap: HashMap<String, u8>,
) -> Result<(), Errorfr> { ) -> Result<(), Errorfr> {
let mut idvec = Vec::new(); let mut idvec = Vec::new();
for eachid in real_ids { for eachid in real_ids {
@ -247,9 +245,7 @@ impl FuncParams<'_> {
Ok(()) Ok(())
} }
pub fn encode_shinydata( pub fn encode_shinydata(
&mut self, &mut self, shiny: &Shinyjson, json_shiny: &Vec<Shinystruct>,
shiny: &Shinyjson,
json_shiny: &Vec<Shinystruct>,
) -> Result<(), Errorfr> { ) -> Result<(), Errorfr> {
let mut realshinykey: u8; let mut realshinykey: u8;
let _shinykey = &shiny.key; let _shinykey = &shiny.key;

View file

@ -110,12 +110,8 @@ fn main() {
} }
fn cook( fn cook(
out: &mut Vec<u8>, out: &mut Vec<u8>, debug_mode: &bool, ver: EncodingVersion, json_config: &Jsonconfig,
debug_mode: &bool, idsmap: HashMap<String, u8>, json_shiny: Vec<Shinystruct>,
ver: EncodingVersion,
json_config: &Jsonconfig,
idsmap: HashMap<String, u8>,
json_shiny: Vec<Shinystruct>,
) -> Result<String, Errorfr> { ) -> Result<String, Errorfr> {
let mut fr_params = FuncParams { let mut fr_params = FuncParams {
fr_out: out, fr_out: out,