fucking clippy man

This commit is contained in:
endernon 2025-01-01 00:04:30 +00:00
parent 8d46acb705
commit 33c4d64b92

View file

@ -255,7 +255,7 @@ fn cook(
fn load_jsonconfig(path: &String) -> Result<Jsonconfig, Errorfr> { fn load_jsonconfig(path: &String) -> Result<Jsonconfig, Errorfr> {
serde_json5::from_reader(&mut fs::File::open(path).map_err(|_| Errorfr::ItemJsonMissing)?) serde_json5::from_reader(&mut fs::File::open(path).map_err(|_| Errorfr::ItemJsonMissing)?)
.map_err(|e| Errorfr::ItemJsonCorrupt(e)) .map_err(Errorfr::ItemJsonCorrupt)
} }
fn load_idkeys(executable_path: &str) -> Result<HashMap<String, u8>, Errorfr> { fn load_idkeys(executable_path: &str) -> Result<HashMap<String, u8>, Errorfr> {
// id_keys.json // id_keys.json