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(())
}
pub fn encode_iddata(
&mut self,
real_ids: &Vec<Identificationer>,
idsmap: HashMap<String, u8>,
&mut self, real_ids: &Vec<Identificationer>, idsmap: HashMap<String, u8>,
) -> 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<Shinystruct>,
&mut self, shiny: &Shinyjson, json_shiny: &Vec<Shinystruct>,
) -> Result<(), Errorfr> {
let mut realshinykey: u8;
let _shinykey = &shiny.key;

View file

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