Warning cleanup

This commit is contained in:
Eirik Ogilvie-Wigley
2019-08-20 16:45:10 -06:00
parent fc3dd8198b
commit e12d315ab9
3 changed files with 4 additions and 4 deletions
@@ -206,7 +206,7 @@ mod tests {
#[should_panic]
fn add_panics_on_overflow() {
let v = Amount(MAX_MONEY);
let sum = v + Amount(1);
let _sum = v + Amount(1);
}
#[test]
@@ -220,7 +220,7 @@ mod tests {
#[should_panic]
fn sub_panics_on_underflow() {
let v = Amount(-MAX_MONEY);
let diff = v - Amount(1);
let _diff = v - Amount(1);
}
#[test]