clippy autofix
This commit is contained in:
parent
658b9b758e
commit
e2b188c982
1 changed files with 1 additions and 3 deletions
|
@ -165,9 +165,7 @@ fn cook(
|
||||||
ItemTypeDeser::CraftedGear => {
|
ItemTypeDeser::CraftedGear => {
|
||||||
if let Some(real_dura) = json_config.durability {
|
if let Some(real_dura) = json_config.durability {
|
||||||
let resulted = encode_duradata(&mut fr_params, real_dura);
|
let resulted = encode_duradata(&mut fr_params, real_dura);
|
||||||
if let Err(e) = resulted {
|
resulted?
|
||||||
return Err(e)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return Err(Errorfr::JsonNotFoundDura)
|
return Err(Errorfr::JsonNotFoundDura)
|
||||||
|
|
Loading…
Reference in a new issue