unused vars cleanup
This commit is contained in:
parent
537e19c4e7
commit
96e69d5c5e
6 changed files with 9 additions and 11 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue