change names

This commit is contained in:
ntr
2019-11-28 16:01:44 +10:00
parent 24951c1442
commit 18126c1b0c
8 changed files with 46 additions and 51 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ impl Vbox {
// check item exists
let selection = self.store
.get_mut(&item).ok_or(format_err!("no item group {:?}", item))?
.remove(i).ok_or(format_err!("no item at index {:?} {:}", item, i))?;
.remove(i).ok_or(format_err!("no item at index {:?} {:}", self, i))?;
self.balance_sub(selection.cost())?;