clippy autofix

This commit is contained in:
endernon 2025-01-03 15:12:26 +00:00
parent 658b9b758e
commit e2b188c982

View file

@ -165,9 +165,7 @@ fn cook(
ItemTypeDeser::CraftedGear => {
if let Some(real_dura) = json_config.durability {
let resulted = encode_duradata(&mut fr_params, real_dura);
if let Err(e) = resulted {
return Err(e)
}
resulted?
}
else {
return Err(Errorfr::JsonNotFoundDura)