diff options
Diffstat (limited to 'solutions/13_error_handling/errors2.rs')
| -rw-r--r-- | solutions/13_error_handling/errors2.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solutions/13_error_handling/errors2.rs b/solutions/13_error_handling/errors2.rs index f652ecb..0597c8c 100644 --- a/solutions/13_error_handling/errors2.rs +++ b/solutions/13_error_handling/errors2.rs @@ -16,6 +16,7 @@ use std::num::ParseIntError; +#[allow(unused_variables)] fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> { let processing_fee = 1; let cost_per_item = 5; |
