unused vars cleanup

This commit is contained in:
Llywelwyn 2023-08-27 18:08:29 +01:00
parent 537e19c4e7
commit 96e69d5c5e
6 changed files with 9 additions and 11 deletions

View file

@ -112,7 +112,7 @@ pub fn identify(gs: &mut State, ctx: &mut Rltk) -> (ItemMenuResult, Option<Entit
};
player_inventory
.entry(unique_item)
.and_modify(|(e, count)| {
.and_modify(|(_e, count)| {
*count += 1;
})
.or_insert((entity, 1));